Commit b04fad73 authored by Lionel's avatar Lionel

Bug/clang 4.0 hashtablebug

parent 3c2e4bd1
......@@ -28,6 +28,12 @@
#include <agrum/PRM/elements/PRMClassElementContainer.h>
namespace gum {
#ifdef __clang__
template class HashFuncMediumCastKey<gum::prm::PRMClassElementContainer<float>*>;
template class HashFuncMediumCastKey<gum::prm::PRMClassElementContainer<double>*>;
#endif
namespace prm {
template class PRMClassElementContainer<float>;
......
......@@ -452,6 +452,10 @@ namespace gum {
} /* namespace prm */
#ifdef __clang__
extern template class HashFuncMediumCastKey<gum::prm::PRMClassElementContainer<float>*>;
extern template class HashFuncMediumCastKey<gum::prm::PRMClassElementContainer<double>*>;
#endif
} // namespace gum
/// @brief An << operator for PRMClassElementContainer.
......
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