summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:27:03 -0800
committerGitHub <noreply@github.com>2019-01-14 17:27:03 -0800
commitb0efeb8b263f91413dc88e87039b872233941cf8 (patch)
tree39fe9183aa9bd950237c245224cf58c71f1ed2dd /src
parentf2617fc69cdd4920fb6a78122b621e3db3f9ba58 (diff)
parent34eab875c541c6c2f40a8b3db712b2e7ef33b4cd (diff)
downloadfork-ledger-b0efeb8b263f91413dc88e87039b872233941cf8.tar.gz
fork-ledger-b0efeb8b263f91413dc88e87039b872233941cf8.tar.bz2
fork-ledger-b0efeb8b263f91413dc88e87039b872233941cf8.zip
Merge pull request #1714 from scfc/remove-py-dump-relaxed
Remove unused function py_dump_relaxed()
Diffstat (limited to 'src')
-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);
}