We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1649ab6 commit 5fa43eaCopy full SHA for 5fa43ea
devapi/document.cc
@@ -50,10 +50,9 @@ using std::endl;
50
// Value::get specialization to allow convertion to common::Value type
51
// --------------------
52
53
-// // We need to export this template instantiation
54
-template PUBLIC_API common::Value Value::get<common::Value>() const;
55
56
template <>
+PUBLIC_API
57
common::Value Value::get<common::Value>() const {
58
if (getType() == DOCUMENT) {
59
return common::Value::Access::mk_json(m_doc.get_json());
0 commit comments