diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 10:06:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 10:06:31 +0200 |
commit | 7c1cf617282c591dff85df164c178198a0ce7738 (patch) | |
tree | c94cfbbeaefd9eb380ac44de7bb3c6e7c8c59ce1 /src/thread/Cond.hxx | |
parent | eb10d08671f3c3db2049b19a9959fe8c62532f35 (diff) | |
download | mpd-7c1cf617282c591dff85df164c178198a0ce7738.tar.gz mpd-7c1cf617282c591dff85df164c178198a0ce7738.tar.xz mpd-7c1cf617282c591dff85df164c178198a0ce7738.zip |
thread/{Cond,Mutex}: use "class" instead of "typedef"
Allows forward-declaration.
Diffstat (limited to 'src/thread/Cond.hxx')
-rw-r--r-- | src/thread/Cond.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Cond.hxx b/src/thread/Cond.hxx index bbaabddc2..ed663dc9d 100644 --- a/src/thread/Cond.hxx +++ b/src/thread/Cond.hxx @@ -25,12 +25,12 @@ /* mingw-w64 4.6.3 lacks a std::cond implementation */ #include "WindowsCond.hxx" -typedef WindowsCond Cond; +class Cond : public WindowsCond {}; #else #include "PosixCond.hxx" -typedef PosixCond Cond; +class Cond : public PosixCond {}; #endif |