Upgraded boost
This commit is contained in:
1 parent
930357d11c
commit
ce98e862c3
13 files changed
+475
-474
No files matched your search
@@ -18,7 +18,7 @@ using namespace bts::orderman;
|
||||
|
||||
void init_plugins(SparkServices &services) {
|
||||
|
||||
static std::vector<decltype(boost::dll::import<void(SparkServices &)>(
|
||||
static std::vector<decltype(boost::dll::import_symbol<void(SparkServices &)>(
|
||||
boost::filesystem::path(), ""))>
|
||||
keep_alive;
|
||||
|
||||
@@ -54,7 +54,7 @@ void init_plugins(SparkServices &services) {
|
||||
|
||||
LOG(Plugin, Info, "Attempting to initialize plugin {}", pl);
|
||||
try {
|
||||
auto init_plugin = boost::dll::import<void(SparkServices &)>(
|
||||
auto init_plugin = boost::dll::import_symbol<void(SparkServices &)>(
|
||||
f.path(), "init_spark_plugin");
|
||||
init_plugin(services);
|
||||
keep_alive.push_back(init_plugin);
|
||||
|
||||
Reference in new issue
Block a user