Added a DEBUG statement

This commit is contained in:
John Wiegley 2012-03-07 11:31:08 -06:00
parent f525dabf39
commit 28b3453f50

View file

@ -241,6 +241,8 @@ private:
template <typename T>
T * search_scope(scope_t * ptr, bool prefer_direct_parents = false)
{
DEBUG("scope.search", "Searching scope " << ptr->description());
if (T * sought = dynamic_cast<T *>(ptr))
return sought;