summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-07 08:43:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-08 21:30:48 +0100
commit709fe557a3a5c2dc8675472dac9325f8efdff004 (patch)
treefa257eae76fc50d3cbe7b69b5c423108c170af90 /logic
parent788cfe69a1668dfd7e6bca16907de696e6063fbe (diff)
clean up a bit
Diffstat (limited to 'logic')
-rw-r--r--logic/extensions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/extensions.cpp b/logic/extensions.cpp
index 438f6dde..1c855923 100644
--- a/logic/extensions.cpp
+++ b/logic/extensions.cpp
@@ -39,7 +39,7 @@ event_handler::event_handler(Modules::dylib_list const& extensions) : ext_bundle
{
std::shared_ptr<IExtension> ext(reinterpret_cast<IExtension*>(lib->Constructor()));
std::shared_ptr<IExtensionDialog> dlg(reinterpret_cast<IExtensionDialog*>(lib->Dialog()));
- std::shared_ptr<Metadata_> m(reinterpret_cast<Metadata_*>(lib->Meta()));
+ std::shared_ptr<Metadata_> m(lib->Meta());
const ext_mask mask = ext->hook_types();