diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 11:31:08 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 11:31:08 -0600 |
commit | 28b3453f5036c2352904c3eafd745d5b9c35c219 (patch) | |
tree | 7be4bba09ea72c4e6cfc9897955c07d89a5c1812 /src/scope.h | |
parent | f525dabf391903936da36a34d8f3045dc3b58efd (diff) | |
download | fork-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.h | 2 |
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; |