X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fdll%2Fexample%2Ftutorial2%2Ftutorial2.cpp;h=83addb83f49d0f39a20e3a88e943c1826ee3eaa3;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=b7e2b30b601b0e9d8e0624b0d8efa4532c8e5112;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/dll/example/tutorial2/tutorial2.cpp b/ceph/src/boost/libs/dll/example/tutorial2/tutorial2.cpp index b7e2b30b6..83addb83f 100644 --- a/ceph/src/boost/libs/dll/example/tutorial2/tutorial2.cpp +++ b/ceph/src/boost/libs/dll/example/tutorial2/tutorial2.cpp @@ -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 @@ -17,7 +17,7 @@ namespace dll = boost::dll; int main(int argc, char* argv[]) { /*<-*/ b2_workarounds::argv_to_path_guard guard(argc, argv); /*->*/ - boost::filesystem::path shared_library_path(argv[1]); // argv[1] contains path to directory with our plugin library + boost::dll::fs::path shared_library_path(argv[1]); // argv[1] contains path to directory with our plugin library shared_library_path /= "my_plugin_aggregator"; typedef boost::shared_ptr (pluginapi_create_t)(); boost::function creator;