summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-19 01:22:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-19 01:22:22 -0400
commit1fa3c1956ff087a5621184e18b0d785e6c41646a (patch)
treee886aaca1028e0e2922fc3e5191ceea48013950c /src/value.h
parentec08dee745ee7c1bda63defa2828ce98e438370b (diff)
downloadfork-ledger-1fa3c1956ff087a5621184e18b0d785e6c41646a.tar.gz
fork-ledger-1fa3c1956ff087a5621184e18b0d785e6c41646a.tar.bz2
fork-ledger-1fa3c1956ff087a5621184e18b0d785e6c41646a.zip
Moved amount_t::right_justify to simply ::justify
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value.h b/src/value.h
index 299afa82..e3190ef4 100644
--- a/src/value.h
+++ b/src/value.h
@@ -886,7 +886,7 @@ public:
* Printing methods.
*/
void print(std::ostream& out,
- const int first_width,
+ const int first_width = - 1,
const int latter_width = -1,
const optional<string>& date_format = none) const;
void dump(std::ostream& out, const bool relaxed = true) const;
@@ -908,7 +908,7 @@ inline value_t mask_value(const string& str) {
}
inline std::ostream& operator<<(std::ostream& out, const value_t& val) {
- val.print(out, 12);
+ val.print(out);
return out;
}