From b07621f2ee69996d491ea8535dae05e0ed6e7555 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Fri, 19 Oct 2018 02:23:45 +0300 Subject: [PATCH] Default defaulted functions --- include/boost/function/function_template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index 4cb0f1a..49e1432 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -707,7 +707,7 @@ namespace boost { typedef BOOST_FUNCTION_FUNCTION self_type; - BOOST_FUNCTION_FUNCTION() : function_base() { } + BOOST_DEFAULTED_FUNCTION(BOOST_FUNCTION_FUNCTION(), : function_base() {}) // MSVC chokes if the following two constructors are collapsed into // one with a default parameter. @@ -1060,7 +1060,7 @@ class function public: - function() : base_type() {} + BOOST_DEFAULTED_FUNCTION(function(), : base_type() {}) template function(Functor f