From 0c0b2f25455f2fb5e26e8d34f7799189f7f38c48 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 26 Sep 2016 07:57:59 -0400 Subject: [PATCH] Add missing rebind to handler_alloc --- CHANGELOG.md | 6 ++++++ include/beast/core/handler_alloc.hpp | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d82c196b..849cb5ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.0.0-b14 + +* Add missing rebind to handler_alloc + +-------------------------------------------------------------------------------- + 1.0.0-b13 * dstream improvements diff --git a/include/beast/core/handler_alloc.hpp b/include/beast/core/handler_alloc.hpp index 50fc0929..dfb94aa0 100644 --- a/include/beast/core/handler_alloc.hpp +++ b/include/beast/core/handler_alloc.hpp @@ -55,6 +55,12 @@ public: using value_type = T; using is_always_equal = std::true_type; + template + struct rebind + { + using other = handler_alloc; + }; + handler_alloc() = delete; handler_alloc(handler_alloc&&) = default; handler_alloc(handler_alloc const&) = default;