From 98d55a48f04a0f97a00b845effb302b905f5ef50 Mon Sep 17 00:00:00 2001 From: zauguin Date: Thu, 23 Jan 2014 22:51:59 +0100 Subject: [PATCH] Make basic_format moveable --- include/boost/locale/format.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/locale/format.hpp b/include/boost/locale/format.hpp index 043044f..f032488 100644 --- a/include/boost/locale/format.hpp +++ b/include/boost/locale/format.hpp @@ -270,7 +270,11 @@ namespace boost { } - +#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES +#ifndef BOOST_NO_DEFAULTED_FUNCTIONS + basic_format(basic_format&&) = default; +#endif +#endif private: class format_guard {