mirror of
https://github.com/boostorg/dll.git
synced 2026-01-24 18:02:08 +00:00
Do not use boost::move in examples
This commit is contained in:
@@ -29,7 +29,7 @@ std::size_t search_for_symbols(const std::vector<boost::dll::fs::path>& plugins)
|
||||
// library has symbol, importing...
|
||||
typedef boost::shared_ptr<my_plugin_api> (pluginapi_create_t)();
|
||||
boost::function<pluginapi_create_t> creator
|
||||
= dll::import_alias<pluginapi_create_t>(boost::move(lib), "create_plugin");
|
||||
= dll::import_alias<pluginapi_create_t>(std::move(lib), "create_plugin");
|
||||
|
||||
std::cout << "Matching plugin name: " << creator()->name() << std::endl;
|
||||
++ plugins_found;
|
||||
|
||||
Reference in New Issue
Block a user