summary refs log tree commit diff
path: root/pkgs/applications/graphics/k3d/disable_mutable_in_boost_gil.patch
blob: 1774328c6186ed868090a7096d456ba91b9b4f77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/k3dsdk/gil/boost/gil/extension/dynamic_image/apply_operation_base.hpp
+++ b/k3dsdk/gil/boost/gil/extension/dynamic_image/apply_operation_base.hpp
@@ -114,7 +114,7 @@
     template <typename T2, typename Op>
     struct reduce_bind1 {
         const T2& _t2;
-        mutable Op&  _op;
+        Op&  _op;
 
         typedef typename Op::result_type result_type;
 
@@ -127,7 +127,7 @@
     struct reduce_bind2 {
         const Bits1& _bits1;
         std::size_t _index1;
-        mutable Op&  _op;
+        Op&  _op;
 
         typedef typename Op::result_type result_type;