yarrp icon indicating copy to clipboard operation
yarrp copied to clipboard

Add missing algorithm include

Open ogasser opened this issue 3 years ago • 0 comments

Fixes the following error during compilation:

patricia.cpp: In member function ‘int Patricia::parsePrefix(int, char*, std::string*)’:
patricia.cpp:1028:21: error: ‘remove_if’ is not a member of ‘std’; did you mean ‘remove_cv’?
 1028 |     line.erase(std::remove_if(line.begin(), line.end(), isspace), line.end());
      |                     ^~~~~~~~~
      |                     remove_cv
make[2]: *** [Makefile:650: patricia.o] Error 1

ogasser avatar Jul 22 '21 08:07 ogasser