aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src/string_tools.cpp
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2024-05-28 10:37:42 -0500
committerjeffro256 <jeffro256@tutanota.com>2024-12-09 14:34:34 -0600
commit8dfb3661ec4ea4e1d6aeb623506780c08079c348 (patch)
tree15d0d4832cf24afa643f3fef5881c403f8e395b8 /contrib/epee/src/string_tools.cpp
parent58a1d54a4f90a235616ede3f8ebae2b8dca41589 (diff)
downloadmonzero-core-8dfb3661ec4ea4e1d6aeb623506780c08079c348.tar.gz
monzero-core-8dfb3661ec4ea4e1d6aeb623506780c08079c348.tar.xz
monzero-core-8dfb3661ec4ea4e1d6aeb623506780c08079c348.zip
epee: partially revert c56ee140 to fix linking errors
On Linux Mint 21.3, g++ Ubuntu 11.4.0-1ubuntu1~22.04, I get linking error for an undefined reference to `epee::string_tools::trim_right`. This PR reverts the changes to epee_readline.cpp in commit c56ee140, which turns a `boost::trim_right` callsite into an `epee::string_tools::trim_right` callsite.
Diffstat (limited to 'contrib/epee/src/string_tools.cpp')
-rw-r--r--contrib/epee/src/string_tools.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/contrib/epee/src/string_tools.cpp b/contrib/epee/src/string_tools.cpp
index 43f7aca9d..081cb9464 100644
--- a/contrib/epee/src/string_tools.cpp
+++ b/contrib/epee/src/string_tools.cpp
@@ -174,19 +174,6 @@ namespace string_tools
}
//----------------------------------------------------------------------------
- void trim_left(std::string& str)
- {
- boost::trim_left(str);
- return;
- }
-
- //----------------------------------------------------------------------------
- void trim_right(std::string& str)
- {
- boost::trim_right(str);
- return;
- }
-
std::string pad_string(std::string s, size_t n, char c, bool prepend)
{
if (s.size() < n)