From 5e7780bbd99cb834f15ba6c33cd5b336a22f62da Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 18 Feb 2017 07:00:06 -0500 Subject: [PATCH] Fix compilation error in non-template class fix #267 --- CHANGELOG.md | 1 + include/beast/http/detail/basic_fields.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 377d7677..c2037947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ 1.0.0-b29 * Fix race in writes during WebSocket reads +* Fix compilation error in non-template class -------------------------------------------------------------------------------- diff --git a/include/beast/http/detail/basic_fields.hpp b/include/beast/http/detail/basic_fields.hpp index 3470c88f..1b296df3 100644 --- a/include/beast/http/detail/basic_fields.hpp +++ b/include/beast/http/detail/basic_fields.hpp @@ -94,11 +94,11 @@ protected: } }; - using list_t = typename boost::intrusive::make_list< - element, boost::intrusive::constant_time_size>::type; + using list_t = boost::intrusive::make_list>::type; - using set_t = typename boost::intrusive::make_multiset< - element, boost::intrusive::constant_time_size, + using set_t = boost::intrusive::make_multiset, boost::intrusive::compare>::type; // data