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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-10-28 15:32:26 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-10-28 15:33:31 +0300
commit0e76c52033648608e5607afb2df940473e0e55f4 (patch)
treef8dd8cd0352da804690159c2f0f3d6ed55da8f4c
parentfd8c3fe07023674ba60ba3c8412536f0ae1a984b (diff)
Cycles: Fix compilation error with MSVC
-rw-r--r--intern/cycles/util/util_math_cdf.h4
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)
{