[Bf-blender-cvs] [549c4bec9d8] blender2.8: Added extra "const" to satisfy the strict clang version in Xcode 9

Stefan Werner noreply at git.blender.org
Wed Sep 20 21:50:39 CEST 2017


Commit: 549c4bec9d8256546ef550106b9662a222ce0bbd
Author: Stefan Werner
Date:   Wed Sep 20 21:47:37 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB549c4bec9d8256546ef550106b9662a222ce0bbd

Added extra "const" to satisfy the strict clang version in Xcode 9

===================================================================

M	intern/itasc/kdl/tree.hpp

===================================================================

diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp
index c8a253fc901..bd35f82d185 100644
--- a/intern/itasc/kdl/tree.hpp
+++ b/intern/itasc/kdl/tree.hpp
@@ -34,7 +34,7 @@ namespace KDL
     //Forward declaration
     class TreeElement;
     // Eigen allocator is needed for alignment of Eigen data types
-    typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap;
+    typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<const std::string, TreeElement> > > SegmentMap;
 
     class TreeElement
     {



More information about the Bf-blender-cvs mailing list