summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 11:31:08 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 11:31:08 -0600
commit28b3453f5036c2352904c3eafd745d5b9c35c219 (patch)
tree7be4bba09ea72c4e6cfc9897955c07d89a5c1812 /src/scope.h
parentf525dabf391903936da36a34d8f3045dc3b58efd (diff)
downloadfork-ledger-28b3453f5036c2352904c3eafd745d5b9c35c219.tar.gz
fork-ledger-28b3453f5036c2352904c3eafd745d5b9c35c219.tar.bz2
fork-ledger-28b3453f5036c2352904c3eafd745d5b9c35c219.zip
Added a DEBUG statement
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h2
1 files changed, 2 insertions, 0 deletions
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 <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;