From 8dfb3661ec4ea4e1d6aeb623506780c08079c348 Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Tue, 28 May 2024 10:37:42 -0500 Subject: 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. --- contrib/epee/include/string_tools.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib/epee/include') diff --git a/contrib/epee/include/string_tools.h b/contrib/epee/include/string_tools.h index 7de73cbf5..8b26f49ae 100644 --- a/contrib/epee/include/string_tools.h +++ b/contrib/epee/include/string_tools.h @@ -71,8 +71,6 @@ namespace string_tools std::string get_current_module_path(); #endif void set_module_name_and_folder(const std::string& path_to_process_); - void trim_left(std::string& str); - void trim_right(std::string& str); //---------------------------------------------------------------------------- inline std::string& trim(std::string& str) { -- cgit v1.2.3