Skip to content

Commit 5fa43ea

Browse files
committed
Fix clang warning on exported Value::get<>()
Change-Id: I7ae65297007124a0a43c74d2b235ecdbdede6553
1 parent 1649ab6 commit 5fa43ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

devapi/document.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ using std::endl;
5050
// Value::get specialization to allow convertion to common::Value type
5151
// --------------------
5252

53-
// // We need to export this template instantiation
54-
template PUBLIC_API common::Value Value::get<common::Value>() const;
5553

5654
template <>
55+
PUBLIC_API
5756
common::Value Value::get<common::Value>() const {
5857
if (getType() == DOCUMENT) {
5958
return common::Value::Access::mk_json(m_doc.get_json());

0 commit comments

Comments
 (0)