diff options
author | lloyd <[email protected]> | 2012-04-23 13:20:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-04-23 13:20:03 +0000 |
commit | 1ffda187674d4ca21f294a4080f52182b5f4a6ed (patch) | |
tree | 5cb28c32470f77bae172899f2b66aed562d24d4e /src/libstate | |
parent | cd82d3641c891ef6e446cdfe584dbd936f6a564d (diff) |
Patrick Pelletier pointed out the hook for Qt_Mutex in libstate.cpp
was broken, and after fixing that and trying to compile the module it
becamse clear that the Qt mutex did not work at all with recent Qt
versions. Taking this as a clear indicator that it is not being used,
remove it.
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/libstate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp index 076b55fcf..3a5c0a9e7 100644 --- a/src/libstate/libstate.cpp +++ b/src/libstate/libstate.cpp @@ -25,8 +25,6 @@ #include <botan/internal/mux_pthr.h> #elif defined(BOTAN_HAS_MUTEX_WIN32) #include <botan/internal/mux_win32.h> -#elif defined(BOTAN_HAS_MUTEX_QT) - #include <botan/internal/mux_qt.h> #endif #if defined(BOTAN_HAS_ALLOC_MMAP) @@ -213,8 +211,6 @@ void Library_State::initialize(bool thread_safe) mutex_factory = new Pthread_Mutex_Factory; #elif defined(BOTAN_HAS_MUTEX_WIN32) mutex_factory = new Win32_Mutex_Factory; -#elif defined(BOTAN_HAS_MUTEX_QT) - mutex_factory Qt_Mutex_Factory; #else throw Invalid_State("Could not find a thread-safe mutex object to use"); #endif |