summaryrefslogtreecommitdiff
path: root/cpp/msgpack/vrefbuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/msgpack/vrefbuffer.hpp')
-rw-r--r--cpp/msgpack/vrefbuffer.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/msgpack/vrefbuffer.hpp b/cpp/msgpack/vrefbuffer.hpp
index c8eca7b..7e0ffb2 100644
--- a/cpp/msgpack/vrefbuffer.hpp
+++ b/cpp/msgpack/vrefbuffer.hpp
@@ -78,6 +78,11 @@ public:
}
}
+ void clear()
+ {
+ msgpack_vrefbuffer_clear(this);
+ }
+
private:
typedef msgpack_vrefbuffer base;