mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
remove deprecated boost symbol import method
This commit is contained in:
parent
5db9d68d9b
commit
1891c83bb2
@ -17,7 +17,8 @@ std::optional<std::vector<boost::shared_ptr<DevicePlugin>>> DevicePlugin::loadPl
|
||||
for (const fs::directory_entry &entry : fs::directory_iterator(Plugin::pluginPath())) {
|
||||
// Bleh, have to catch this unless I do more manual checks
|
||||
try {
|
||||
auto plugin = dll::import<DevicePlugin>(entry.path().string(), TUXCLOCKER_PLUGIN_SYMBOL_NAME);
|
||||
auto plugin = boost::dll::import_symbol<DevicePlugin>(entry.path().string(),
|
||||
TUXCLOCKER_PLUGIN_SYMBOL_NAME);
|
||||
retval.push_back(plugin);
|
||||
}
|
||||
catch (boost::system::system_error &e) {}
|
||||
|
Loading…
Reference in New Issue
Block a user