Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
wm-request: enable the use of pygments if available
[staging/windowmanager.git]
/
src
/
config.hpp
diff --git
a/src/config.hpp
b/src/config.hpp
index
d1e2322
..
d470b85
100644
(file)
--- a/
src/config.hpp
+++ b/
src/config.hpp
@@
-17,8
+17,8
@@
#ifndef TMCAGLWM_CONFIG_HPP
#define TMCAGLWM_CONFIG_HPP
#ifndef TMCAGLWM_CONFIG_HPP
#define TMCAGLWM_CONFIG_HPP
-#include <map>
#include <experimental/optional>
#include <experimental/optional>
+#include <map>
namespace wm {
namespace wm {
@@
-39,11
+39,11
@@
struct config {
optional<int> get_int(char const *s) {
auto i = this->cfg.find(s);
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
}
};
} // namespace wm
-
-#endif //TMCAGLWM_CONFIG_HPP
+#endif // TMCAGLWM_CONFIG_HPP