diff options
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index ddec600..c49a449 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -84,7 +84,7 @@ namespace nitrokey{ shared_ptr<NitrokeyManager> NitrokeyManager::instance() { if (_instance == nullptr){ - _instance = shared_ptr<NitrokeyManager>(new NitrokeyManager()); + _instance = make_shared<NitrokeyManager>(); } return _instance; } |