aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-20 11:54:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-20 11:54:27 +0200
commit7025a1508ffae149f35680a36ce633b7e8f802eb (patch)
tree24f8577b4b2e7058e2635783dc6463759060b23f
parented81a8f4e7fd201b8ee82fe1e5801c218da7f148 (diff)
Fix invalid forward reference to std::mutex
-rw-r--r--odb/details/condition.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/odb/details/condition.hxx b/odb/details/condition.hxx
index 34c5c62..f410ec4 100644
--- a/odb/details/condition.hxx
+++ b/odb/details/condition.hxx
@@ -38,14 +38,13 @@ namespace odb
#elif defined(ODB_THREADS_CXX11)
# include <condition_variable>
+# include <odb/details/mutex.hxx>
# include <odb/details/lock.hxx>
namespace odb
{
namespace details
{
- class mutex;
-
class condition: public std::condition_variable
{
public: