aboutsummaryrefslogtreecommitdiff
path: root/odb/details/buffer.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-31 16:37:21 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-05 14:40:26 +0200
commit718c1eafff379b6d1b3c217d00d0efb9f5b16c83 (patch)
tree71da230e7ef28f8d6881fecdff9a095fc3d154f0 /odb/details/buffer.cxx
parentc89d2d34e27f674720c3c497bbd18a26a5bf9f38 (diff)
Convert buffer to templated basic_buffer
Diffstat (limited to 'odb/details/buffer.cxx')
-rw-r--r--odb/details/buffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/details/buffer.cxx b/odb/details/buffer.cxx
index ea5b7a1..af863a9 100644
--- a/odb/details/buffer.cxx
+++ b/odb/details/buffer.cxx
@@ -13,13 +13,13 @@ namespace odb
{
namespace details
{
- void buffer::
+ void basic_buffer_base::
capacity (size_t c, size_t data_size)
{
if (c > capacity_)
{
size_t n (capacity_ * 2 > c ? capacity_ * 2 : c);
- char* d (static_cast<char*> (operator new (n)));
+ void* d (operator new (n));
if (data_ != 0)
{