restore accidentally removed msgpack::Writer::value_as_root implementation (#229)

This commit is contained in:
George Evmenov
2024-10-23 09:26:19 +02:00
committed by GitHub
parent b0e4bb7178
commit 37484d1681
+3 -1
View File
@@ -43,7 +43,9 @@ class Writer {
OutputVarType null_as_root() const noexcept;
template <class T>
OutputVarType value_as_root(const T& _var) const noexcept;
OutputVarType value_as_root(const T& _var) const noexcept {
return new_value(_var);
}
OutputArrayType add_array_to_array(const size_t _size,
OutputArrayType* _parent) const noexcept;