diff options
-rw-r--r-- | src/ClientID.hpp | 6 | ||||
-rw-r--r-- | src/Configuration.cpp | 2 | ||||
-rw-r--r-- | src/Patchage.cpp | 2 | ||||
-rw-r--r-- | src/PortID.hpp | 6 |
4 files changed, 8 insertions, 8 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()) { diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 4597c37..fb53116 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -296,7 +296,7 @@ Configuration::load() file.close(); } -static inline void +inline void write_module_position(std::ofstream& os, const std::string& name, const char* type, diff --git a/src/Patchage.cpp b/src/Patchage.cpp index daad2c2..96af631 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -618,7 +618,7 @@ Patchage::operator()(const setting::MessagesVisible& setting) _menu_view_messages->set_active(setting.value); } -static inline guint +inline guint highlight_color(guint c, guint delta) { const guint max_char = 255; 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()) { |