summaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-13 09:38:59 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commite04b072b79044ca1220499f6d39532c6c98f81db (patch)
treed3b50d277b340031290c19e85c74790a6c3084ef /src/app.cpp
parent1958da2130c04fbcc0bf1da2c40b57c785657e48 (diff)
clang-tidy the place up
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 6515978..29f37e4 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -15,13 +15,12 @@ namespace wm {
namespace {
App *g_app;
- }
+ } // namespace
- App::App(wl::display *d)
- : api{this}, display{d}, controller{}, outputs()
- {
- assert(g_app == nullptr);
- g_app = this;
+ App::App(wl::display *d)
+ : api{this}, display{d}, controller{}, outputs() {
+ assert(g_app == nullptr);
+ g_app = this;
}
int App::init() {