提交 196a681e 编写于 作者: M Matias Romeo

Fix fc::variant deserialization of boost::multiprecision::number<T>

上级 ae5cf81f
......@@ -608,7 +608,7 @@ namespace fc
v = std::string(n);
}
template<typename T> void from_variant( const variant& v, boost::multiprecision::number<T>& n ) {
n = decltype(n)(v.get_string());
n = boost::multiprecision::number<T>(v.get_string());
}
variant operator + ( const variant& a, const variant& b );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册