From 80e29f81b90e77cf7f0292d23c6c4c26bdd18d05 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 10 Feb 2016 14:04:08 +1100 Subject: [PATCH] alloc/null: add missing interface members --- alloc/null.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/alloc/null.hpp b/alloc/null.hpp index 551e0540..8d3bd64c 100644 --- a/alloc/null.hpp +++ b/alloc/null.hpp @@ -28,6 +28,12 @@ namespace util { namespace alloc { public: void* allocate (size_t bytes, size_t align = alignof (std::max_align_t)); void deallocate (void *ptr, size_t bytes, size_t align = alignof (std::max_align_t)); + + void reset (void) { ; } + + constexpr size_t capacity (void) const { return 0u; } + constexpr size_t used (void) const { return 0u; } + constexpr size_t remain (void) const { return 0u; } }; } }