Fix T47427: Crash caused by OSL

This commit is contained in:
Sergey Sharybin
2016-02-16 13:37:05 +01:00
parent f630964feb
commit 63b60be6d7

View File

@@ -75,7 +75,7 @@ public:
/* Some external API might demand working with std::vector. */
operator std::vector<value_type>()
{
return std::vector<value_type>(*this);
return std::vector<value_type>(this->begin(), this->end());
}
};