]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/dll/example/tutorial7/tutorial7.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / dll / example / tutorial7 / tutorial7.cpp
index 58ae389354b355ba9cb20ea279f72aa49de33ab2..e0186db2763cf32e1e2907c804df66144adb605a 100644 (file)
@@ -1,5 +1,5 @@
 // Copyright 2014 Renato Tegon Forti, Antony Polukhin.
-// Copyright 2015 Antony Polukhin.
+// Copyright 2015-2019 Antony Polukhin.
 //
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
@@ -13,7 +13,7 @@
 #include <boost/dll/library_info.hpp>
 #include <iostream>
 
-void load_and_execute(const boost::filesystem::path libraries[], std::size_t libs_count) {
+void load_and_execute(const boost::dll::fs::path libraries[], std::size_t libs_count) {
     const std::string username = "User";
 
     for (std::size_t i = 0; i < libs_count; ++i) {
@@ -36,7 +36,7 @@ void load_and_execute(const boost::filesystem::path libraries[], std::size_t lib
 
 int main(int argc, char* argv[]) {
     /*<-*/ BOOST_ASSERT(argc >= 3); /*->*/
-    std::vector<boost::filesystem::path> libraries;
+    std::vector<boost::dll::fs::path> libraries;
     libraries.reserve(argc - 1);
     for (int i = 1; i < argc; ++i) {
         if (b2_workarounds::is_shared_library(argv[i])) {