summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/amount.cc b/src/amount.cc
index 1f273e9f..6fc049b9 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -1001,20 +1001,6 @@ void amount_t::print(std::ostream& _out) const
_out << out.str();
}
-void amount_t::right_justify(std::ostream& out, int width) const
-{
- std::ostringstream buf;
- buf << *this;
-
- unistring temp(buf.str());
-
- int spacing = width - int(temp.length());
- while (spacing-- > 0)
- out << ' ';
-
- out << temp.extract();
-}
-
bool amount_t::valid() const
{
if (quantity) {