Skip to content

Commit dcf19cb

Browse files
author
Huang-Ming Huang
committed
fixed link issue with boost 1.62
1 parent 08e3a18 commit dcf19cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/mfast/decimal_ref.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,12 @@
1212
#include <boost/multiprecision/cpp_dec_float.hpp>
1313

1414
template class boost::multiprecision::backends::cpp_dec_float<18>;
15+
16+
#if BOOST_VERSION >= 106200
17+
#include <boost/functional/hash.hpp>
18+
19+
template void boost::hash_combine<boost::multiprecision::backends::cpp_dec_float<18u, int, void>::enum_fpclass_type>(unsigned long&, boost::multiprecision::backends::cpp_dec_float<18u, int, void>::enum_fpclass_type const&);
20+
template void boost::hash_combine<bool>(unsigned long&, bool const&);
21+
template void boost::hash_combine<int>(unsigned long&, int const&);
22+
template void boost::hash_combine<unsigned int>(unsigned long&, unsigned int const&);
23+
#endif

0 commit comments

Comments
 (0)