Commit 16198a89 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix build with gcc 9 / -std=c++11

fix:

/usr/include/c++/9.2.0/bits/stl_map.h:122:71: erreur: l'assertion statique a échoué:
std::map must have the same value_type as its allocator
parent c6592b35
......@@ -41,7 +41,7 @@ namespace hpp {
class HPP_CORE_DLLAPI InterpolatedPath : public Path
{
public:
typedef std::pair <value_type, Configuration_t> InterpolationPoint_t;
typedef std::pair <const value_type, Configuration_t> InterpolationPoint_t;
typedef std::map <value_type, Configuration_t, std::less <value_type>,
Eigen::aligned_allocator <InterpolationPoint_t> > InterpolationPoints_t;
typedef Path parent_t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment