Skip to content
Snippets Groups Projects
Commit e03f6b28 authored by Wilson Jallet's avatar Wilson Jallet :clapper: Committed by Justin Carpentier
Browse files

Move overload_base_get_item_for_std_map<> using-typedef back to std-map.hpp

parent aa2c54b4
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "eigenpy/pickle-vector.hpp" #include "eigenpy/pickle-vector.hpp"
#include "eigenpy/registration.hpp" #include "eigenpy/registration.hpp"
#include "eigenpy/utils/empty-visitor.hpp" #include "eigenpy/utils/empty-visitor.hpp"
#include "eigenpy/deprecated.hpp"
#include <boost/python/suite/indexing/map_indexing_suite.hpp> #include <boost/python/suite/indexing/map_indexing_suite.hpp>
#include <boost/python/stl_iterator.hpp> #include <boost/python/stl_iterator.hpp>
...@@ -66,15 +65,6 @@ struct overload_base_get_item_for_map ...@@ -66,15 +65,6 @@ struct overload_base_get_item_for_map
} }
}; };
namespace details {
template <typename Container>
using overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
"Use overload_base_get_item_for_map<> instead.") =
overload_base_get_item_for_map<Container>;
} // namespace details
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// The following snippet of code has been taken from the header // The following snippet of code has been taken from the header
// https://github.com/loco-3d/crocoddyl/blob/v2.1.0/bindings/python/crocoddyl/utils/map-converter.hpp // https://github.com/loco-3d/crocoddyl/blob/v2.1.0/bindings/python/crocoddyl/utils/map-converter.hpp
......
...@@ -10,6 +10,15 @@ ...@@ -10,6 +10,15 @@
namespace eigenpy { namespace eigenpy {
template <typename Container>
using overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
"Use overload_base_get_item_for_map<> instead.") =
overload_base_get_item_for_map<Container>;
namespace details {
using ::eigenpy::overload_base_get_item_for_std_map;
} // namespace details
/** /**
* @brief Expose an std::map from a type given as template argument. * @brief Expose an std::map from a type given as template argument.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment