aboutsummaryrefslogtreecommitdiff
path: root/DeviceCommunicationExceptions.cpp
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-28 17:32:47 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:50 +0100
commit34daa03a2be13f9f38fc29336350236a3e9f541e (patch)
treecd1e306f95fa232b375b6a0348c2856230e358e9 /DeviceCommunicationExceptions.cpp
parentee78540d7d9a5d555085b4608ba0ccb4f9ec1801 (diff)
downloadlibnitrokey-34daa03a2be13f9f38fc29336350236a3e9f541e.tar.gz
libnitrokey-34daa03a2be13f9f38fc29336350236a3e9f541e.tar.bz2
Count lifetime instances of device communication exception
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'DeviceCommunicationExceptions.cpp')
-rw-r--r--DeviceCommunicationExceptions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/DeviceCommunicationExceptions.cpp b/DeviceCommunicationExceptions.cpp
new file mode 100644
index 0000000..a470a48
--- /dev/null
+++ b/DeviceCommunicationExceptions.cpp
@@ -0,0 +1,3 @@
+#include "DeviceCommunicationExceptions.h"
+
+std::atomic_int DeviceCommunicationException::occurred {0};