]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/filesystem/test/issues/copy_file-compilation-error-2015-05-04.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / filesystem / test / issues / copy_file-compilation-error-2015-05-04.cpp
index c9034d6f96cd5ca1a997e476d5b5aeedb2f22456..6b41e69ba8df79914d6c86deba7a1067f1933931 100644 (file)
@@ -7,8 +7,8 @@ void myFunc()
 {
    using namespace boost::filesystem;
 
-   copy_option opt(copy_option::overwrite_if_exists);
+   copy_options opt(copy_options::overwrite_existing);
 
-   copy_file(path("p1"),path("p2"),copy_option::overwrite_if_exists);
+   copy_file(path("p1"),path("p2"),copy_options::overwrite_existing);
 //   copy_file(path("p1"),path("p2"),opt);
 }
\ No newline at end of file