Commit fc5a1ed8 authored by Joseph Noir's avatar Joseph Noir

Fix now() for non-RIOT usage

parent ec9aebc4
......@@ -105,7 +105,9 @@ inline bool operator>=(const time_point& lhs, const time_point& rhs) {
namespace caf {
using time_point = std::chrono::high_resolution_clock::time_point;
using now = std::chrono::high_resolution_clock::now();
inline std::chrono::time_point<std::chrono::high_resolution_clock> now() {
return std::chrono::high_resolution_clock::now();
}
// todo mapping for caf
......
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