From 4880cdd472a6e97078df789f09b8095e0d19e1b8 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 5 Sep 2017 13:14:51 -0400 Subject: [PATCH] Remove field_range copy constructor * This presence of the user-declared copy constructor makes the compiler-provided copy assignment operator deprecated. This change allows the compiler to provide both copy members without deprecated behavior. --- CHANGELOG.md | 1 + include/boost/beast/http/impl/fields.ipp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22198214..ca9c295c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 113: * Fix handler signature in async_read_header +* Remove field_range copy constructor -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/impl/fields.ipp b/include/boost/beast/http/impl/fields.ipp index 13b70e43..c836b800 100644 --- a/include/boost/beast/http/impl/fields.ipp +++ b/include/boost/beast/http/impl/fields.ipp @@ -123,8 +123,6 @@ public: using value_type = typename const_iterator::value_type; - field_range(field_range const&) = default; - field_range(iter_type first, iter_type last) : first_(first) , last_(last)