diff options
Diffstat (limited to 'messageenginefactory.cpp')
-rw-r--r-- | messageenginefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/messageenginefactory.cpp b/messageenginefactory.cpp index db5c70b..04fb741 100644 --- a/messageenginefactory.cpp +++ b/messageenginefactory.cpp @@ -31,7 +31,7 @@ std::shared_ptr<MessageEngine> MessageEngineFactory::getMessageEngine(const QUrl auto urlstr = url.toString(); auto pme = lut[urlstr]; if (!pme){ - pme = std::make_shared<MessageEngine>(url); + pme = std::shared_ptr<MessageEngine>{new MessageEngine(url)}; lut[urlstr] = pme; } |