From d23ed020abf494a046b499cdce1c0957cd5b4783 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 21 May 2007 20:45:13 +0000 Subject: Whitespace cleanup. --- src/utility/pushvar.h | 4 ++-- src/utility/system.hh | 2 +- src/utility/utils.cc | 6 +++--- src/utility/utils.h | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/utility') diff --git a/src/utility/pushvar.h b/src/utility/pushvar.h index 793c0ca6..1a9bdcbc 100644 --- a/src/utility/pushvar.h +++ b/src/utility/pushvar.h @@ -33,9 +33,9 @@ * @file scopevar.h * @author John Wiegley * @date Sun May 6 20:10:52 2007 - * + * * @brief Adds a facility to C++ for handling "scoped executions". - * + * * There are sometimes cases where you would like to guarantee that * something happens at the end of a scope, such as calling a function * to close a resource for you. diff --git a/src/utility/system.hh b/src/utility/system.hh index 96c6575c..92fc5874 100644 --- a/src/utility/system.hh +++ b/src/utility/system.hh @@ -36,7 +36,7 @@ * @file system.hh * @author John Wiegley * @date Mon Apr 23 03:43:05 2007 - * + * * @brief All system headers needed by Ledger. * * These are collected here so that a pre-compiled header can be made. diff --git a/src/utility/utils.cc b/src/utility/utils.cc index e9c41cc9..7ddeb677 100644 --- a/src/utility/utils.cc +++ b/src/utility/utils.cc @@ -143,7 +143,7 @@ inline void add_to_count_map(object_count_map& the_map, std::size_t current_memory_size() { std::size_t memory_size = 0; - + for (object_count_map::const_iterator i = live_memory_count->begin(); i != live_memory_count->end(); i++) @@ -262,7 +262,7 @@ inline void report_count_map(std::ostream& out, object_count_map& the_map) std::size_t current_objects_size() { std::size_t objects_size = 0; - + for (object_count_map::const_iterator i = live_object_count->begin(); i != live_object_count->end(); i++) @@ -617,7 +617,7 @@ void finish_timer(const char * name) if (need_paren) _log_buffer << '('; - + _log_buffer << spent.total_milliseconds() << "ms"; if (need_paren) diff --git a/src/utility/utils.h b/src/utility/utils.h index 9ddedb0e..b78e716d 100644 --- a/src/utility/utils.h +++ b/src/utility/utils.h @@ -33,9 +33,9 @@ * @file utils.h * @author John Wiegley * @date Sun May 6 21:20:00 2007 - * + * * @brief This file contains general utility facilities used by Ledger. - * + * * Ledger has need of the following utility code, which this file * provides or includes in: * @@ -195,7 +195,7 @@ inline string operator+(const string& __lhs, const string& __rhs) } string operator+(const char* __lhs, const string& __rhs); -string operator+(char __lhs, const string& __rhs); +string operator+(char __lhs, const string& __rhs); inline string operator+(const string& __lhs, const char* __rhs) { @@ -324,7 +324,7 @@ inline bool category_matches(const char * cat) { #define DEBUG_(msg) #endif // DEBUG_ON - + #define LOG_MACRO(level, msg) \ (ledger::_log_level >= level ? \ ((ledger::_log_buffer << msg), ledger::logger_func(level)) : false) -- cgit v1.2.3