diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-30 19:06:32 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-30 19:06:32 +0900 |
commit | dfe4aee045113eceaeabd327291f94583e7b13d3 (patch) | |
tree | 745826e7154c4d08606456dcef68716e64c70b81 /src/layout.hpp | |
parent | 5d91a5ffe0bc614ee79a18818dadf5836ce038d7 (diff) |
Format source codes
Change-Id: I28e99487b814b23fe99aa6bc8ec4538af3940acf
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/layout.hpp')
-rw-r--r-- | src/layout.hpp | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/src/layout.hpp b/src/layout.hpp index d5fd00c..d8c9b88 100644 --- a/src/layout.hpp +++ b/src/layout.hpp @@ -22,21 +22,25 @@ #include "result.hpp" -namespace wm { - -struct LayoutState { - int main{-1}; - int sub{-1}; - - bool operator==(const LayoutState &b) const { - return main == b.main && sub == b.sub; - } - - bool operator!=(const LayoutState &b) const { - return !(*this == b); - } +namespace wm +{ + +struct LayoutState +{ + int main{-1}; + int sub{-1}; + + bool operator==(const LayoutState &b) const + { + return main == b.main && sub == b.sub; + } + + bool operator!=(const LayoutState &b) const + { + return !(*this == b); + } }; -} // namespace wm +} // namespace wm -#endif // TMCAGLWM_LAYOUT_HPP +#endif // TMCAGLWM_LAYOUT_HPP |