From 154e2d7f4a063703dbdbb0984579be10355bf785 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Mar 2024 01:41:44 +0100 Subject: Rename inline files to .inl.h --- StarsEx/Clock.inl | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 StarsEx/Clock.inl (limited to 'StarsEx/Clock.inl') diff --git a/StarsEx/Clock.inl b/StarsEx/Clock.inl deleted file mode 100644 index 42a2693..0000000 --- a/StarsEx/Clock.inl +++ /dev/null @@ -1,28 +0,0 @@ -/* Starshatter: The Open Source Project - Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors - Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors - Copyright (c) 1997-2006, Destroyer Studios LLC. -*/ - -#include "Clock.h" - -#include -#include - - -template -R -Clock::GameTime() const -{ - using target_duration = std::chrono::duration; - return std::chrono::duration_cast(m_game_elapsed).count(); -} - - -template -R -Clock::RealTime() const -{ - using target_duration = std::chrono::duration; - return std::chrono::duration_cast(m_real_elapsed).count(); -} -- cgit v1.1