From d52eb5bf2360aaaa30219aa237621c10c16be630 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 12 Mar 2014 13:21:21 +0000 Subject: 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 --- libs/pbd/pbd/abstract_ui.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libs/pbd') 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::iterator RequestBufferMapIterator; - typedef std::map RequestBufferMap; -#else typedef typename std::map::iterator RequestBufferMapIterator; typedef std::map RequestBufferMap; -#endif RequestBufferMap request_buffers; static Glib::Threads::Private per_thread_request_buffer; -- cgit v1.2.3