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

This commit is contained in:
Stefan Werner 2017-09-20 21:47:37 +02:00
parent 8ad479a322
commit ee30a4381f
1 changed files with 1 additions and 1 deletions

View File

@ -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
{