Added a DEBUG statement
This commit is contained in:
parent
f525dabf39
commit
28b3453f50
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue