From c9e889723b7af832322d178975e6e440d6cd3ae5 Mon Sep 17 00:00:00 2001 From: LDA Date: Mon, 26 Jun 2023 11:48:27 -0700 Subject: resolved most of the compiler warnings/errors under gcc also update xxhash and tinyformat --- source/core/StarTime.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/core/StarTime.cpp') diff --git a/source/core/StarTime.cpp b/source/core/StarTime.cpp index b8d01a4..4d0b516 100644 --- a/source/core/StarTime.cpp +++ b/source/core/StarTime.cpp @@ -177,6 +177,11 @@ Timer::Timer() : Clock(false) { Timer::Timer(Timer const& timer) : Clock(timer) {} +Timer& Timer::operator=(Timer const& timer) { + Clock::operator=(timer); + return *this; +} + void Timer::restart(double timeLeft) { Clock::setTime(-timeLeft); Clock::start(); -- cgit v1.2.3