diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-16 15:37:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-16 15:38:07 +0300 |
commit | 63b60be6d77420a5176050629e06d7888c311875 (patch) | |
tree | a04bb0c80c56572945bb39c1124c45be91bf8f03 /intern | |
parent | f630964feb99c6389081844c85db133132452c77 (diff) |
Fix T47427: Crash caused by OSL
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h index 830aa15291d..9f9e69cda52 100644 --- a/intern/cycles/util/util_vector.h +++ b/intern/cycles/util/util_vector.h @@ -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()); } }; |