X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fspirit%2Fhome%2Fx3%2Fsupport%2Ftraits%2Fcontainer_traits.hpp;h=8e1310afe13fd5f0ebc7849c91f723631ecadb30;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=f2d1086dd29bb8f0cbef524e6c352fef2b3c988b;hpb=11fdf7f228cb605e22a0e495ebabd3329db96b81;p=ceph.git diff --git a/ceph/src/boost/boost/spirit/home/x3/support/traits/container_traits.hpp b/ceph/src/boost/boost/spirit/home/x3/support/traits/container_traits.hpp index f2d1086dd..8e1310afe 100644 --- a/ceph/src/boost/boost/spirit/home/x3/support/traits/container_traits.hpp +++ b/ceph/src/boost/boost/spirit/home/x3/support/traits/container_traits.hpp @@ -11,7 +11,6 @@ #include #include -#include #include #include #include @@ -123,7 +122,7 @@ namespace boost { namespace spirit { namespace x3 { namespace traits template static bool call(Container& c, T&& val) { - c.insert(c.end(), std::move(val)); + c.insert(c.end(), static_cast(val)); return true; } }; @@ -131,7 +130,7 @@ namespace boost { namespace spirit { namespace x3 { namespace traits template inline bool push_back(Container& c, T&& val) { - return push_back_container::call(c, std::move(val)); + return push_back_container::call(c, static_cast(val)); } template @@ -277,7 +276,7 @@ namespace boost { namespace spirit { namespace x3 { namespace traits template struct deref_iterator { - typedef typename boost::detail::iterator_traits::reference type; + typedef typename std::iterator_traits::reference type; static type call(Iterator& it) { return *it;