diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-28 15:32:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-28 15:33:31 +0300 |
commit | 0e76c52033648608e5607afb2df940473e0e55f4 (patch) | |
tree | f8dd8cd0352da804690159c2f0f3d6ed55da8f4c /intern | |
parent | fd8c3fe07023674ba60ba3c8412536f0ae1a984b (diff) |
Cycles: Fix compilation error with MSVC
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_math_cdf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_math_cdf.h b/intern/cycles/util/util_math_cdf.h index 6a8af7741f9..47dfb68ba44 100644 --- a/intern/cycles/util/util_math_cdf.h +++ b/intern/cycles/util/util_math_cdf.h @@ -28,7 +28,7 @@ template <typename Functor> void util_cdf_evaluate(const int resolution, const float from, const float to, - const Functor functor, + Functor functor, vector<float> &cdf) { const int cdf_count = resolution + 1; @@ -60,7 +60,7 @@ template <typename Functor> void util_cdf_inverted(const int resolution, const float from, const float to, - const Functor functor, + Functor functor, const bool make_symmetric, vector<float> &inv_cdf) { |