summaryrefslogtreecommitdiffstats
path: root/src/layout.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-30 17:33:48 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-31 15:09:51 +0900
commit2357c437b260d0d8cb927e6878f1226bfafb9d0b (patch)
tree1842573395cb6ec19ed7a89157abbf8e077c1547 /src/layout.hpp
parentd50188f726b15a0ae2777bf2d91ee88836feeac5 (diff)
Format source codes
* Format source codes * Change indent spaces to 4 from 3 * Remove trailing spaces in config.xml Change-Id: I745ba6c7cc4dcf4177add81666351c3c01de7d44 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/layout.hpp')
-rw-r--r--src/layout.hpp34
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