aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-01-13 10:51:32 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:38 +0100
commit87252d46294515cc5fcf49eb08c8b1c19b49d27a (patch)
tree2ccf2e9da8382420c6c6ca6e93f1450c8fc7a639 /NitrokeyManager.cc
parentdaf51e7e6a6f6569472f2a5fae5a376f105f858a (diff)
downloadlibnitrokey-87252d46294515cc5fcf49eb08c8b1c19b49d27a.tar.gz
libnitrokey-87252d46294515cc5fcf49eb08c8b1c19b49d27a.tar.bz2
Comments - fixme
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 1753a73..f92f5f7 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -88,6 +88,7 @@ namespace nitrokey{
}
shared_ptr<NitrokeyManager> NitrokeyManager::instance() {
+ //FIXME check thread safety - add atomic for instance, add lock guard
if (_instance == nullptr){
_instance = make_shared<NitrokeyManager>();
}