mirror of
https://github.com/monero-project/monero.git
synced 2026-01-15 09:51:03 -05:00
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.
This commit is contained in:
parent
58a1d54a4f
commit
8dfb3661ec
3 changed files with 1 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue