diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 12:04:28 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:30:50 +0200 |
commit | 343c700f2e1003855dfdeb4e2e7d102dc8bbe696 (patch) | |
tree | 5460dc02b588eafd151f9c5e35bce04a1d336b90 /src/config.hpp | |
parent | add2152e7561ea456068dd73ebbdc480d13e1015 (diff) |
clang formatting
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.hpp b/src/config.hpp index d1e2322..d470b85 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -17,8 +17,8 @@ #ifndef TMCAGLWM_CONFIG_HPP #define TMCAGLWM_CONFIG_HPP -#include <map> #include <experimental/optional> +#include <map> namespace wm { @@ -39,11 +39,11 @@ struct config { optional<int> get_int(char const *s) { auto i = this->cfg.find(s); - return i != this->cfg.end() ? optional<int>(std::stoi(i->second)) : nullopt; + return i != this->cfg.end() ? optional<int>(std::stoi(i->second)) + : nullopt; } }; } // namespace wm - -#endif //TMCAGLWM_CONFIG_HPP +#endif // TMCAGLWM_CONFIG_HPP |