summaryrefslogtreecommitdiffhomepage
path: root/opentrack/selected-libraries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/selected-libraries.cpp')
-rw-r--r--opentrack/selected-libraries.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/opentrack/selected-libraries.cpp b/opentrack/selected-libraries.cpp
index 8cb226c8..d76c0111 100644
--- a/opentrack/selected-libraries.cpp
+++ b/opentrack/selected-libraries.cpp
@@ -14,15 +14,15 @@ static mem<t> make_instance(mem<dylib> lib)
return ret;
}
-SelectedLibraries::SelectedLibraries(QFrame* frame, dylibptr t, dylibptr p, dylibptr f) :
+SelectedLibraries::SelectedLibraries(QFrame* frame, mem<ITracker> t, dylibptr p, mem<IFilter> f) :
pTracker(nullptr),
pFilter(nullptr),
pProtocol(nullptr),
correct(false)
{
- pTracker = make_instance<ITracker>(t);
+ pTracker = t;
pProtocol = make_instance<IProtocol>(p);
- pFilter = make_instance<IFilter>(f);
+ pFilter = f;
if (!pTracker || !pProtocol)
{