Commit fa3e53f2 authored by Zhiping Jiang (蒋志平)'s avatar Zhiping Jiang (蒋志平) 💬

Fix strange build error on ubuntu 17.10

parent 5172969a
......@@ -54,11 +54,11 @@ namespace cve {
return *this;
}
TickTockTimer &TickTockTimer::tickTockLambda(std::function<void(void)> codeBlock) {
this->tick();
codeBlock();
this->tock_instant();
return *this;
}
// TickTockTimer &TickTockTimer::tickTockLambda(std::function<void(void)> codeBlock) {
// this->tick();
// codeBlock();
// this->tock_instant();
//
// return *this;
// }
}
......@@ -33,7 +33,7 @@ namespace cve {
TickTockTimer & tick();
TickTockTimer & tock();
TickTockTimer & tock_instant();
TickTockTimer & tickTockLambda(std::function<void(void)> codeBlock);
// TickTockTimer & tickTockLambda(std::function<void(void)> codeBlock);
};
}
......
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