summaryrefslogtreecommitdiff
path: root/src/utility
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-21 20:45:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:39:06 -0400
commitd23ed020abf494a046b499cdce1c0957cd5b4783 (patch)
treebd9035df62b9ef7cbf77045bb018de8e33270fca /src/utility
parentfdfc37adf948415b6caad55c08e8313abd4e1b1b (diff)
downloadfork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.gz
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.bz2
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.zip
Whitespace cleanup.
Diffstat (limited to 'src/utility')
-rw-r--r--src/utility/pushvar.h4
-rw-r--r--src/utility/system.hh2
-rw-r--r--src/utility/utils.cc6
-rw-r--r--src/utility/utils.h8
4 files changed, 10 insertions, 10 deletions
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)