summaryrefslogtreecommitdiff
path: root/libs/pbd/id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/id.cc')
-rw-r--r--libs/pbd/id.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/id.cc b/libs/pbd/id.cc
index 9b04c88e65..24cf02ab2e 100644
--- a/libs/pbd/id.cc
+++ b/libs/pbd/id.cc
@@ -31,14 +31,14 @@
using namespace std;
using namespace PBD;
-Glib::Mutex* ID::counter_lock = 0;
+Glib::Threads::Mutex* ID::counter_lock = 0;
uint64_t ID::_counter = 0;
void
ID::init ()
{
if (!counter_lock)
- counter_lock = new Glib::Mutex;
+ counter_lock = new Glib::Threads::Mutex;
}
ID::ID ()
@@ -59,7 +59,7 @@ ID::ID (string str)
void
ID::reset ()
{
- Glib::Mutex::Lock lm (*counter_lock);
+ Glib::Threads::Mutex::Lock lm (*counter_lock);
_id = _counter++;
}