yse / easy_profiler

Lightweight profiler library for c++
MIT License
2.14k stars 184 forks source link

easy/arbitrary_value.h does not include <string> #181

Open andreyryabov opened 4 years ago

andreyryabov commented 4 years ago
easy_profiler_core/include/easy/arbitrary_value.h:317:66: error: no type named 'string' in namespace 'std'
    inline void setText(const BaseBlockDescriptor*, const ::std::string&, ValueId) {}

can be fixed by

#include <string>
#include <easy/arbitrary_value.h>
yse commented 4 years ago

Hello! Which compiler and OS the error appears?

andreyryabov commented 4 years ago

Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin19.4.0 Thread model: posix