fix compiler errors in old g++
This commit is contained in:
parent
9b2ea8703e
commit
6bca7d7909
@ -29,7 +29,7 @@ class Stopwatch final {
|
||||
nf7::Env::Time begin_;
|
||||
};
|
||||
inline std::ostream& operator << (std::ostream& out, const Stopwatch& sw) {
|
||||
return out << std::chrono::duration_cast<std::chrono::microseconds>(sw.dur());
|
||||
return out << std::chrono::duration_cast<std::chrono::microseconds>(sw.dur()).count() << " usecs";
|
||||
}
|
||||
|
||||
struct Stopwatch::Benchmark final {
|
||||
|
Loading…
x
Reference in New Issue
Block a user