summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-12 01:43:02 +0100
committerDavid Robillard <d@drobilla.net>2020-11-12 01:47:42 +0100
commita44c8444f05b860580eddd3c057a49af33c4b090 (patch)
tree9623f5592eab687e2addd2bb200a27d85ab2cecd
parent6a08c7997967816c959ac76dbf296a0f1215b295 (diff)
downloadraul-a44c8444f05b860580eddd3c057a49af33c4b090.tar.gz
raul-a44c8444f05b860580eddd3c057a49af33c4b090.tar.bz2
raul-a44c8444f05b860580eddd3c057a49af33c4b090.zip
Use inline for bare functions rather than static inline
This avoids warnings about unused functions.
-rw-r--r--include/raul/TimeStamp.hpp2
1 files changed, 1 insertions, 1 deletions
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();