summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 02:04:29 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 02:04:29 -0400
commitb32f05f7c757df2e6b2f5531aeb7438c102f9984 (patch)
tree689fda75d5dde4b79393d7d09d3812730fa06a26 /src
parent721659fa043a02740146ca82ed261066fcbb1077 (diff)
downloadingen-b32f05f7c757df2e6b2f5531aeb7438c102f9984.tar.gz
ingen-b32f05f7c757df2e6b2f5531aeb7438c102f9984.tar.bz2
ingen-b32f05f7c757df2e6b2f5531aeb7438c102f9984.zip
Use "static inline" consistently over "inline static"
Diffstat (limited to 'src')
-rw-r--r--src/gui/Port.cpp2
-rw-r--r--src/gui/WidgetFactory.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 84fbd165..89b86184 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -377,7 +377,7 @@ Port::on_event(GdkEvent* ev)
return false;
}
-inline static uint32_t
+static inline uint32_t
peak_color(float peak)
{
static const uint32_t min = 0x4A8A0EC0;
diff --git a/src/gui/WidgetFactory.cpp b/src/gui/WidgetFactory.cpp
index 597e0924..d70a5084 100644
--- a/src/gui/WidgetFactory.cpp
+++ b/src/gui/WidgetFactory.cpp
@@ -29,7 +29,7 @@ namespace gui {
Glib::ustring WidgetFactory::ui_filename = "";
-inline static bool
+static inline bool
is_readable(const std::string& filename)
{
std::ifstream fs(filename.c_str());