From 4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 May 2012 19:32:40 -0500 Subject: Converted the Ledger build system to use CMake --- src/iterators.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/iterators.cc') diff --git a/src/iterators.cc b/src/iterators.cc index 7cc1291a..0a053031 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -203,7 +203,7 @@ void sorted_accounts_iterator::push_back(account_t& account) accounts_list.back().end(), compare_items(sort_cmp)); -#if defined(DEBUG_ON) +#if DEBUG_ON if (SHOW_DEBUG("accounts.sorted")) { foreach (account_t * acct, accounts_list.back()) DEBUG("accounts.sorted", @@ -236,7 +236,7 @@ void sorted_accounts_iterator::sort_accounts(account_t& account, std::stable_sort(deque.begin(), deque.end(), compare_items(sort_cmp)); -#if defined(DEBUG_ON) +#if DEBUG_ON if (SHOW_DEBUG("accounts.sorted")) { foreach (account_t * acct, deque) DEBUG("accounts.sorted", "Account: " << acct->fullname()); -- cgit v1.2.3