13
0

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:
Carl Hetherington 2011-02-20 11:26:29 +00:00
parent 8fcf7e6a07
commit d81625a9b6

View File

@ -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