Fix erroneous use of NDEBUG and hidden typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@8906 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8fcf7e6a07
commit
d81625a9b6
@ -3634,8 +3634,8 @@ Route::update_port_latencies (const PortSet& operands, const PortSet& feeders, b
|
||||
void
|
||||
Route::setup_invisible_processors ()
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
Glib::RWLock::WriterLock lm (_processor_lock, Glib::TryLock);
|
||||
#ifndef NDEBUG
|
||||
Glib::RWLock::WriterLock lm (_processor_lock, Glib::TRY_LOCK);
|
||||
assert (!lm.locked ());
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user