summaryrefslogtreecommitdiffstats
path: root/src/gui/rgba.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-13 01:23:28 -0500
committerDavid Robillard <d@drobilla.net>2022-12-14 18:04:27 -0500
commit5d6ab4915c3b93f534c45bb6f84bf3273221e87c (patch)
treecfa2693d677a8261d5d2ab0125b7369dc39a7f86 /src/gui/rgba.hpp
parent513296b868df8a3c5a55290d3146cba017418926 (diff)
downloadingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.tar.gz
ingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.tar.bz2
ingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.zip
Concatenate nested namespaces
Diffstat (limited to 'src/gui/rgba.hpp')
-rw-r--r--src/gui/rgba.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/rgba.hpp b/src/gui/rgba.hpp
index 0d2c57aa..bb53205e 100644
--- a/src/gui/rgba.hpp
+++ b/src/gui/rgba.hpp
@@ -20,8 +20,7 @@
#include <cmath>
#include <cstdint>
-namespace ingen {
-namespace gui {
+namespace ingen::gui {
inline uint32_t
rgba_to_uint(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
@@ -53,7 +52,6 @@ rgba_interpolate(uint32_t c1, uint32_t c2, float f)
mono_interpolate(RGBA_A(c1), RGBA_A(c2), f));
}
-} // namespace gui
-} // namespace ingen
+} // namespace ingen::gui
#endif // INGEN_GUI_RGBA_HPP