Commit 25a0bb86 authored by Kirill Smelkov's avatar Kirill Smelkov

Fix test_benchmark build

It was failing on Debian 12 due to missing <string> include:

    kirr@deca:~/src/tools/go/pygolang-master/3rdparty/ratas/src/test$ g++ test_benchmark.cc
    test_benchmark.cc: In function ‘int main(int, char**)’:
    test_benchmark.cc:223:21: error: variable ‘std::string value’ has initializer but incomplete type
      223 |         std::string value = s;
          |                     ^~~~~
    test_benchmark.cc:234:21: error: variable ‘std::string value’ has initializer but incomplete type
      234 |         std::string value = s;
          |                     ^~~~~
parent e8037ff7
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
#include <string>
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment