aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/buffer.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/buffer.hxx b/odb/buffer.hxx
index 2a07735..4f4ce0b 100644
--- a/odb/buffer.hxx
+++ b/odb/buffer.hxx
@@ -32,6 +32,12 @@ namespace odb
return data_;
}
+ const char*
+ data () const
+ {
+ return data_;
+ }
+
std::size_t
capacity () const
{