[Bf-blender-cvs] [0e76c52] master: Cycles: Fix compilation error with MSVC
Sergey Sharybin
noreply at git.blender.org
Wed Oct 28 13:33:39 CET 2015
Commit: 0e76c52033648608e5607afb2df940473e0e55f4
Author: Sergey Sharybin
Date: Wed Oct 28 17:32:26 2015 +0500
Branches: master
https://developer.blender.org/rB0e76c52033648608e5607afb2df940473e0e55f4
Cycles: Fix compilation error with MSVC
===================================================================
M intern/cycles/util/util_math_cdf.h
===================================================================
diff --git a/intern/cycles/util/util_math_cdf.h b/intern/cycles/util/util_math_cdf.h
index 6a8af77..47dfb68 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)
{
More information about the Bf-blender-cvs
mailing list