summaryrefslogtreecommitdiff
path: root/src/py_value.cc
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-13 17:48:58 +0000
committerTim Landscheidt <tim@tim-landscheidt.de>2019-01-13 17:49:46 +0000
commit34eab875c541c6c2f40a8b3db712b2e7ef33b4cd (patch)
treef824579542b025931bd8cbb8fa8bbb0f81fa0ec5 /src/py_value.cc
parent40f0bbfbb75296cc42e9fd44ac168048469176f2 (diff)
downloadfork-ledger-34eab875c541c6c2f40a8b3db712b2e7ef33b4cd.tar.gz
fork-ledger-34eab875c541c6c2f40a8b3db712b2e7ef33b4cd.tar.bz2
fork-ledger-34eab875c541c6c2f40a8b3db712b2e7ef33b4cd.zip
Remove unused function py_dump_relaxed()
The only user of py_dump_relaxed() was removed in commit 0bbb4f2f0cbaa6ffb5c7a2c018a3819cca0b2405.
Diffstat (limited to 'src/py_value.cc')
-rw-r--r--src/py_value.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/py_value.cc b/src/py_value.cc
index f4f63946..486228c0 100644
--- a/src/py_value.cc
+++ b/src/py_value.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2018, John Wiegley. All rights reserved.
+ * Copyright (c) 2003-2019, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -88,12 +88,6 @@ namespace {
return buf.str();
}
- string py_dump_relaxed(const value_t& value) {
- std::ostringstream buf;
- value.dump(buf, true);
- return buf.str();
- }
-
void py_set_string(value_t& value, const string& str) {
return value.set_string(str);
}