diff options
author | David Robillard <d@drobilla.net> | 2022-07-19 09:56:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-20 10:35:32 -0400 |
commit | 69e5c8be8519babe0bc894c46ff6e81336dc4c43 (patch) | |
tree | 4e542c8d2872cb043f03a24187c38ef8735081e2 /src/PortID.hpp | |
parent | c0f2beedaf475f8e81e0fbb22ba62b8d917c1945 (diff) | |
download | patchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.tar.gz patchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.tar.bz2 patchage-69e5c8be8519babe0bc894c46ff6e81336dc4c43.zip |
Avoid using "static inline" for inline functions in headers
Diffstat (limited to 'src/PortID.hpp')
-rw-r--r-- | src/PortID.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PortID.hpp b/src/PortID.hpp index e9011c9..846a447 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -101,7 +101,7 @@ private: bool _alsa_is_input{}; ///< Input flag for Type::alsa }; -static inline std::ostream& +inline std::ostream& operator<<(std::ostream& os, const PortID& id) { switch (id.type()) { @@ -116,7 +116,7 @@ operator<<(std::ostream& os, const PortID& id) return os; } -static inline bool +inline bool operator==(const PortID& lhs, const PortID& rhs) { if (lhs.type() != rhs.type()) { @@ -137,7 +137,7 @@ operator==(const PortID& lhs, const PortID& rhs) return false; } -static inline bool +inline bool operator<(const PortID& lhs, const PortID& rhs) { if (lhs.type() != rhs.type()) { |