From 83a7d4a86fba51f29b94fd9adcea3e6f94c2e56e Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Aug 02 2018 17:24:57 +0000 Subject: Fix synfig::Time --- diff --git a/synfig-core/src/synfig/time.h b/synfig-core/src/synfig/time.h index 72644ec..b647f14 100644 --- a/synfig-core/src/synfig/time.h +++ b/synfig-core/src/synfig/time.h @@ -28,6 +28,8 @@ /* === H E A D E R S ======================================================= */ +#include + #include "string.h" /* === M A C R O S ========================================================= */ @@ -116,7 +118,7 @@ public: //! The discrete representation to use in std::map and std::set ticks_type ticks() const - { return (long long)round(value_/(tick())); } + { return (long long)::round(value_/(tick())); } bool is_equal(const Time& rhs) const { return ticks() == rhs.ticks(); } bool is_less_than(const Time& rhs) const { return ticks() < rhs.ticks(); }