Commit e48d5d10 authored by luyikei's avatar luyikei

Core: Use MeyersSingleton instead of ScopedSingleton

parent f4243eb8
......@@ -40,7 +40,7 @@ namespace Backend
#include <QElapsedTimer>
#include "Tools/Singleton.hpp"
class Core : public ScopedSingleton<Core>
class Core : public MeyersSingleton<Core>
{
public:
Backend::IBackend* backend();
......
......@@ -97,7 +97,6 @@ VLMCGuimain( int argc, char **argv )
Backend::IBackend* backend;
VLMCmainCommon( app, &backend );
auto coreLock = Core::Policy_t::lock();
/* Load a project file */
bool project = false;
......@@ -192,7 +191,6 @@ VLMCCoremain( int argc, char **argv )
Backend::IBackend* backend;
VLMCmainCommon( app, &backend );
auto coreLock = Core::Policy_t::lock();
/* Load a project file */
if ( app.arguments().count() < 3 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment