diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-06 13:23:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | 03c5a15199b34b564314ac222d51ab687fc97a93 (patch) | |
tree | c130aa8785dc273090dbe0f3fa04e5055d851483 /logic/selected-libraries.hpp | |
parent | 632cd5bf7778cb9062633f8d27ecd6aadcaa5d28 (diff) |
get rid of the silly mem -> shared_ptr alias
Diffstat (limited to 'logic/selected-libraries.hpp')
-rw-r--r-- | logic/selected-libraries.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/logic/selected-libraries.hpp b/logic/selected-libraries.hpp index 689cbec3..65e9733e 100644 --- a/logic/selected-libraries.hpp +++ b/logic/selected-libraries.hpp @@ -15,11 +15,14 @@ struct OTR_LOGIC_EXPORT SelectedLibraries { - using dylibptr = mem<dylib>; - mem<ITracker> pTracker; - mem<IFilter> pFilter; - mem<IProtocol> pProtocol; + using dylibptr = std::shared_ptr<dylib>; + + std::shared_ptr<ITracker> pTracker; + std::shared_ptr<IFilter> pFilter; + std::shared_ptr<IProtocol> pProtocol; + SelectedLibraries(QFrame* frame, dylibptr t, dylibptr p, dylibptr f); SelectedLibraries() : pTracker(nullptr), pFilter(nullptr), pProtocol(nullptr), correct(false) {} + bool correct; }; |