Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-16 15:37:05 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-16 15:38:07 +0300
commit63b60be6d77420a5176050629e06d7888c311875 (patch)
treea04bb0c80c56572945bb39c1124c45be91bf8f03 /intern
parentf630964feb99c6389081844c85db133132452c77 (diff)
Fix T47427: Crash caused by OSL
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/util/util_vector.h2
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());
}
};