| 131 | |
| 132 | template<class T> |
| 133 | static void set_default(config_tree &tree, bool &modified, const config_tree::key_type &key, T value) { |
| 134 | if (!tree.get_child_optional(key)) tree.put(key, value), modified = true; |
| 135 | } |
| 136 | |
| 137 | static bool set_defaults(config_tree &tree) { |
| 138 | bool modified = false; |