aboutsummaryrefslogtreecommitdiff
path: root/odb/details/posix/condition.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/posix/condition.hxx')
-rw-r--r--odb/details/posix/condition.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/details/posix/condition.hxx b/odb/details/posix/condition.hxx
index 6a86741..7a9dd2d 100644
--- a/odb/details/posix/condition.hxx
+++ b/odb/details/posix/condition.hxx
@@ -16,6 +16,8 @@ namespace odb
{
namespace details
{
+ class lock;
+
class LIBODB_EXPORT condition
{
public:
@@ -26,7 +28,7 @@ namespace odb
signal ();
void
- wait ();
+ wait (lock&);
private:
condition (const condition&);