From a44c8444f05b860580eddd3c057a49af33c4b090 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Nov 2020 01:43:02 +0100 Subject: Use inline for bare functions rather than static inline This avoids warnings about unused functions. --- include/raul/TimeStamp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/raul') diff --git a/include/raul/TimeStamp.hpp b/include/raul/TimeStamp.hpp index d8d4939..ed9b479 100644 --- a/include/raul/TimeStamp.hpp +++ b/include/raul/TimeStamp.hpp @@ -195,7 +195,7 @@ private: TimeUnit _unit; }; -static inline std::ostream& +inline std::ostream& operator<<(std::ostream& os, const TimeStamp& t) { os << t.ticks() << ":" << t.subticks(); -- cgit v1.2.1