diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-01-11 16:40:05 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:36 +0100 |
commit | 55745fccf0c4233c536d8bacead3443a8e431b8d (patch) | |
tree | b39c55923aa611e651bf95aff165459554b057a4 /NitrokeyManager.cc | |
parent | 2dec896b3f853d2e509c4eb15fe5dd6c28e0a1d7 (diff) | |
download | libnitrokey-55745fccf0c4233c536d8bacead3443a8e431b8d.tar.gz libnitrokey-55745fccf0c4233c536d8bacead3443a8e431b8d.tar.bz2 |
Use nullptr instead of NULL
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index f71c362..73a704a 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -49,7 +49,8 @@ namespace nitrokey{ shared_ptr <NitrokeyManager> NitrokeyManager::_instance = nullptr; - NitrokeyManager::NitrokeyManager() { + NitrokeyManager::NitrokeyManager() : device(nullptr) + { set_debug(true); } NitrokeyManager::~NitrokeyManager() { |