| 245 | } |
| 246 | |
| 247 | std::string ConfigurationSystem::GetString(const char* key, const std::string& defaultValue) const |
| 248 | { |
| 249 | auto it = m_config.find(key); |
| 250 | if (it == m_config.end()) |
| 251 | { |
| 252 | return defaultValue; |
| 253 | } |
| 254 | return it->second.value; |
| 255 | } |
| 256 | |
| 257 | float ConfigurationSystem::GetFloat(const char* key, float defaultValue) const |
| 258 | { |
no outgoing calls
no test coverage detected