summaryrefslogtreecommitdiffhomepage
path: root/faceapi/mutex.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-02 18:41:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-02 18:41:01 +0200
commit8303597a865400a363ae574ccde819302495f498 (patch)
treec83b383b3ec818f610cc6137f2b72ee7b4173b09 /faceapi/mutex.h
parent8adf6b1650af6027f28db12ca2b4de92a3fac11d (diff)
Just put everything new in. Conflict resolution will be later
Diffstat (limited to 'faceapi/mutex.h')
-rw-r--r--faceapi/mutex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/faceapi/mutex.h b/faceapi/mutex.h
index 11aabafc..a4f84705 100644
--- a/faceapi/mutex.h
+++ b/faceapi/mutex.h
@@ -1,6 +1,8 @@
#ifndef SM_API_TESTAPPCONSOLE_MUTEX_H
#define SM_API_TESTAPPCONSOLE_MUTEX_H
+#include <exception>
+
namespace sm
{
namespace faceapi
@@ -16,7 +18,7 @@ namespace sm
{
if (!InitializeCriticalSectionAndSpinCount(&_cs,0x80000400))
{
- throw std::runtime_error("Failed to initialize Mutex");
+ throw std::exception();
}
}
~Mutex()