summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-20 23:49:18 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:29 -0400
commitc30f52090012f4632f4cfe6536abc4af7edfe363 (patch)
tree07388964ba67caba450283b28c7a9eff7e01a220 /format.h
parentb84f676946941df6f7e8476d77d1db0cbe7736c5 (diff)
downloadfork-ledger-c30f52090012f4632f4cfe6536abc4af7edfe363.tar.gz
fork-ledger-c30f52090012f4632f4cfe6536abc4af7edfe363.tar.bz2
fork-ledger-c30f52090012f4632f4cfe6536abc4af7edfe363.zip
Decreased memory usage considerably
Diffstat (limited to 'format.h')
-rw-r--r--format.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/format.h b/format.h
index 870d7dc4..f58ee699 100644
--- a/format.h
+++ b/format.h
@@ -28,11 +28,11 @@ class format_t
element_t()
: align_left(false), min_width(-1), max_width(-1),
kind(UNKNOWN), chars(NULL) {
- TRACE_CTOR("element_t()");
+ TRACE_CTOR(element_t, "");
}
~element_t() {
- TRACE_DTOR("element_t");
+ TRACE_DTOR(element_t);
switch (kind) {
case TEXT:
@@ -68,10 +68,10 @@ class format_t
public:
format_t() {
- TRACE_CTOR("format_t()");
+ TRACE_CTOR(format_t, "");
}
format_t(const string& fmt) {
- TRACE_CTOR("format_t(const string&)");
+ TRACE_CTOR(format_t, "const string&");
parse(fmt);
}
@@ -84,7 +84,7 @@ class format_t
}
virtual ~format_t() {
- TRACE_DTOR("format_t");
+ TRACE_DTOR(format_t);
clear_elements();
}