]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/move/example/doc_move_return.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / move / example / doc_move_return.cpp
index 0d5db0f901cef19ea0338840d1a2c3291d968e80..19ed61e27e95c884549042334167d99bf463ea8f 100644 (file)
@@ -9,7 +9,7 @@
 //
 //////////////////////////////////////////////////////////////////////////////
 
-#include <boost/move/detail/config_begin.hpp>
+#include <boost/core/ignore_unused.hpp>
 
 //[move_return_example
 #include "movable.hpp"
@@ -61,10 +61,8 @@ int main()
    copyable c           = lock_wrapper(factory_functor<copyable>    ());
    non_copy_movable &mr = lock_wrapper(return_reference             ());
    //<-
-   (void)m; (void)cm; (void)c; (void)mr;
+   boost::ignore_unused(m); boost::ignore_unused(cm); boost::ignore_unused(c); boost::ignore_unused(mr);
    //->
    return 0;
 }
 //]
-
-#include <boost/move/detail/config_end.hpp>