summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/abstract_ui.h
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-03-12 13:21:21 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-03-12 13:22:25 +0000
commitd52eb5bf2360aaaa30219aa237621c10c16be630 (patch)
treee7c4cfb1e24ad26448cfc438840a95f7e4440770 /libs/pbd/pbd/abstract_ui.h
parent9f98837255da3de058dd3273655535c6b5d997f4 (diff)
A few days ago a #define got changed because the relevant section of code was no longer needed when building with mingw. However, it's not needed for msvc either (in fact, msvc won't compile it) so hopefully, the code fragment can be safely removed
Diffstat (limited to 'libs/pbd/pbd/abstract_ui.h')
-rw-r--r--libs/pbd/pbd/abstract_ui.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libs/pbd/pbd/abstract_ui.h b/libs/pbd/pbd/abstract_ui.h
index 04d0a38e85..8e386aa4eb 100644
--- a/libs/pbd/pbd/abstract_ui.h
+++ b/libs/pbd/pbd/abstract_ui.h
@@ -75,21 +75,8 @@ class ABSTRACT_UI_API AbstractUI : public BaseUI
};
typedef typename RequestBuffer::rw_vector RequestBufferVector;
-#ifdef COMPILER_MSVC // ?? (not needed for ming32 nor mingw64)
-
- struct pthread_cmp
- {
- bool operator() (const ptw32_handle_t& thread1, const ptw32_handle_t& thread2)
- {
- return thread1.p < thread2.p;
- }
- };
- typedef typename std::map<pthread_t,RequestBuffer*, pthread_cmp>::iterator RequestBufferMapIterator;
- typedef std::map<pthread_t,RequestBuffer*, pthread_cmp> RequestBufferMap;
-#else
typedef typename std::map<pthread_t,RequestBuffer*>::iterator RequestBufferMapIterator;
typedef std::map<pthread_t,RequestBuffer*> RequestBufferMap;
-#endif
RequestBufferMap request_buffers;
static Glib::Threads::Private<RequestBuffer> per_thread_request_buffer;