From 63b60be6d77420a5176050629e06d7888c311875 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 16 Feb 2016 13:37:05 +0100 Subject: [PATCH] Fix T47427: Crash caused by OSL --- intern/cycles/util/util_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { - return std::vector(*this); + return std::vector(this->begin(), this->end()); } };