From d81625a9b693701c0b6ed8139a12bdbbd38c84b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 20 Feb 2011 11:26:29 +0000 Subject: [PATCH] Fix erroneous use of NDEBUG and hidden typo. git-svn-id: svn://localhost/ardour2/branches/3.0@8906 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index cb2f231def..c73ea0e66d 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -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