diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-01-11 20:11:01 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:37 +0100 |
commit | 73eac5050abad1b8f0ddbc7e94a11170a640e130 (patch) | |
tree | 67eb6db096a4fb06da3ba19c4bbbcbb71805a90f /include | |
parent | 02189413ce463116694478fcdcb418fed7e42027 (diff) | |
download | libnitrokey-73eac5050abad1b8f0ddbc7e94a11170a640e130.tar.gz libnitrokey-73eac5050abad1b8f0ddbc7e94a11170a640e130.tar.bz2 |
Protect concurrent use with lock guard
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/NitrokeyManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index d6b70a4..6551c1a 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -39,7 +39,7 @@ namespace nitrokey { bool connect(const char *device_model); bool connect(); bool disconnect(); - bool is_connected(); + bool is_connected() const throw() ; DeviceModel get_connected_device_model(); void set_debug(bool state); stick10::GetStatus::ResponsePayload get_status(); |