mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Revert the edit to abstract_ui.h
I'll probably have to make a different branch and all. I suppose changes to this file can wait for another day.
This commit is contained in:
parent
f833c45ea6
commit
e8fc159083
1 changed files with 7 additions and 6 deletions
|
|
@ -73,19 +73,20 @@ protected:
|
|||
};
|
||||
typedef typename RequestBuffer::rw_vector RequestBufferVector;
|
||||
|
||||
#if defined(COMPILER_MINGW) && defined(PTW32_VERSION)
|
||||
struct pthread_cmp
|
||||
{
|
||||
bool operator() (const pthread_t& a, const pthread_t& b) const noexcept
|
||||
bool operator() (const ptw32_handle_t& thread1, const ptw32_handle_t& thread2)
|
||||
{
|
||||
#ifdef PTW32_VERSION
|
||||
return a.p < b.p;
|
||||
#else
|
||||
return a < b;
|
||||
#endif
|
||||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue