ltp icon indicating copy to clipboard operation
ltp copied to clipboard

src/parser/parser.cpp:1083 error 'get_time' was not declared in this scope

Open dooothink opened this issue 4 years ago • 0 comments

I find the declaration and definiton of function get_time in src/utils/time.hpp, then I modify the parser.cpp add the follow code

#include "utils/time.hpp"
#include <functional>

std::function<double ()> get_time = WallClockTimer::get_time;

c++ ltp-version=3.4.0

dooothink avatar Jan 26 '21 06:01 dooothink