From 28b3453f5036c2352904c3eafd745d5b9c35c219 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 11:31:08 -0600 Subject: Added a DEBUG statement --- src/scope.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/scope.h') diff --git a/src/scope.h b/src/scope.h index 84dfd3ea..75dc2c0f 100644 --- a/src/scope.h +++ b/src/scope.h @@ -241,6 +241,8 @@ private: template T * search_scope(scope_t * ptr, bool prefer_direct_parents = false) { + DEBUG("scope.search", "Searching scope " << ptr->description()); + if (T * sought = dynamic_cast(ptr)) return sought; -- cgit v1.2.3