Commit 419fe06f authored by Lionel's avatar Lionel

Fixed linking error with some PRM classes and the HashTable class.

parent b04fad73
......@@ -28,6 +28,10 @@
#include <agrum/PRM/elements/PRMClass.h>
namespace gum {
#ifdef __clang__
template class HashFuncMediumCastKey<gum::prm::PRMClass<float>*>;
template class HashFuncMediumCastKey<gum::prm::PRMClass<double>*>;
#endif
namespace prm {
template class PRMClass<float>;
......
......@@ -458,6 +458,10 @@ namespace gum {
extern template class PRMClass<double>;
} /* namespace prm */
#ifdef __clang__
extern template class HashFuncMediumCastKey<gum::prm::PRMClass<float>*>;
extern template class HashFuncMediumCastKey<gum::prm::PRMClass<double>*>;
#endif
} // namespace gum
#include <agrum/PRM/elements/PRMClass_tpl.h>
......
......@@ -34,4 +34,8 @@ namespace gum {
template class PRMSystem<double>;
} /* namespace prm */
#ifdef __clang__
template class HashFuncMediumCastKey<gum::prm::PRMSystem<float>*>;
template class HashFuncMediumCastKey<gum::prm::PRMSystem<double>*>;
#endif
} /* namespace gum */
......@@ -337,6 +337,10 @@ namespace gum {
} /* namespace prm */
#ifdef __clang__
extern template class HashFuncMediumCastKey<gum::prm::PRMSystem<float>*>;
extern template class HashFuncMediumCastKey<gum::prm::PRMSystem<double>*>;
#endif
} /* namespace gum */
#include <agrum/PRM/elements/PRMSystem_tpl.h>
......
......@@ -28,6 +28,10 @@
#include <agrum/PRM/elements/PRMType.h>
namespace gum {
#ifdef __clang__
template class HashFuncMediumCastKey<gum::prm::PRMType<float>*>;
template class HashFuncMediumCastKey<gum::prm::PRMType<double>*>;
#endif
namespace prm {
template class PRMType<float>;
......
......@@ -271,6 +271,10 @@ namespace gum {
} /* namespace prm */
#ifdef __clang__
extern template class HashFuncMediumCastKey<gum::prm::PRMType<float>*>;
extern template class HashFuncMediumCastKey<gum::prm::PRMType<double>*>;
#endif
} /* namespace gum */
#include <agrum/PRM/elements/PRMType_tpl.h>
......
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