summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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());