summaryrefslogtreecommitdiffstats
path: root/src/ClientID.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-19 09:56:13 -0400
committerDavid Robillard <d@drobilla.net>2022-07-20 10:35:32 -0400
commit69e5c8be8519babe0bc894c46ff6e81336dc4c43 (patch)
tree4e542c8d2872cb043f03a24187c38ef8735081e2 /src/ClientID.hpp
parentc0f2beedaf475f8e81e0fbb22ba62b8d917c1945 (diff)
downloadpatchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.tar.gz
patchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.tar.bz2
patchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.zip
Avoid using "static inline" for inline functions in headers
Diffstat (limited to 'src/ClientID.hpp')
-rw-r--r--src/ClientID.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClientID.hpp b/src/ClientID.hpp
index 7bf8faa..0cfdb29 100644
--- a/src/ClientID.hpp
+++ b/src/ClientID.hpp
@@ -59,7 +59,7 @@ private:
uint8_t _alsa_id{}; ///< Client ID for Type::alsa
};
-static inline std::ostream&
+inline std::ostream&
operator<<(std::ostream& os, const ClientID& id)
{
switch (id.type()) {
@@ -73,7 +73,7 @@ operator<<(std::ostream& os, const ClientID& id)
return os;
}
-static inline bool
+inline bool
operator==(const ClientID& lhs, const ClientID& rhs)
{
if (lhs.type() != rhs.type()) {
@@ -91,7 +91,7 @@ operator==(const ClientID& lhs, const ClientID& rhs)
return false;
}
-static inline bool
+inline bool
operator<(const ClientID& lhs, const ClientID& rhs)
{
if (lhs.type() != rhs.type()) {