#ifndef TMCAGLWM_CONFIG_HPP
#define TMCAGLWM_CONFIG_HPP
-#include <map>
#include <experimental/optional>
+#include <map>
namespace wm {
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