X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fconfig.hpp;h=d470b85104a2407a478516489cdf269c4e85108c;hb=04cede8e6e693ff1ad5d93dc2c4449a07c40ab96;hp=5b84c53b8319c2525cb8cee2e6b6f63482c19061;hpb=daf3f38d2d89b0073bdbee2a531e00dc00e172c1;p=staging%2Fwindowmanager.git diff --git a/src/config.hpp b/src/config.hpp index 5b84c53..d470b85 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -14,15 +14,11 @@ * limitations under the License. */ -// -// Created by mfritzsc on 8/1/17. -// - #ifndef TMCAGLWM_CONFIG_HPP #define TMCAGLWM_CONFIG_HPP -#include #include +#include namespace wm { @@ -43,11 +39,11 @@ struct config { optional get_int(char const *s) { auto i = this->cfg.find(s); - return i != this->cfg.end() ? optional(std::stoi(i->second)) : nullopt; + return i != this->cfg.end() ? optional(std::stoi(i->second)) + : nullopt; } }; } // namespace wm - -#endif //TMCAGLWM_CONFIG_HPP +#endif // TMCAGLWM_CONFIG_HPP