Skip to content

Commit 7452b80

Browse files
committed
Work around another gcc9 bug
1 parent 91b12ab commit 7452b80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/json2cpp/json2cpp_adapter.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ class json2cppJsonValue
368368
return opt::make_optional(json2cppJsonObject(m_value));
369369
}
370370

371-
return {};
371+
opt::optional<json2cppJsonObject> emptyreturn{};
372+
return emptyreturn;
372373
}
373374

374375
/**

0 commit comments

Comments
 (0)