| 152 | } |
| 153 | |
| 154 | int PropSetSimple::GetInt(const char *key, int defaultValue) const { |
| 155 | std::string val = Get(key); |
| 156 | ExpandAllInPlace(*this, val, 100, VarChain(key)); |
| 157 | if (!val.empty()) { |
| 158 | return atoi(val.c_str()); |
| 159 | } |
| 160 | return defaultValue; |
| 161 | } |
no test coverage detected