From fe9648fa1cdc8f9cf5216a88fadb8b96604047fd Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 3 Apr 2015 20:27:27 +0200 Subject: base/time: Replaces by std::chrono. --- src/menu/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menu/timer.cpp') diff --git a/src/menu/timer.cpp b/src/menu/timer.cpp index 567860c2..884b8548 100644 --- a/src/menu/timer.cpp +++ b/src/menu/timer.cpp @@ -26,7 +26,7 @@ namespace usdx { - Timer::Timer(Control* owner, float duration, bool init) : + Timer::Timer(Control* owner, std::chrono::milliseconds duration, bool init) : Control(owner), duration(duration), ready(init), last_update() { } -- cgit v1.2.3