| 51 | } |
| 52 | |
| 53 | const char* getString(StringId id) |
| 54 | { |
| 55 | if (id >= _strings.size()) |
| 56 | { |
| 57 | Diagnostics::Logging::error("Tried to access invalid string id: {}", id); |
| 58 | return nullptr; |
| 59 | } |
| 60 | char* str = _strings[id]; |
| 61 | return str; |
| 62 | } |
| 63 | |
| 64 | void setString(StringId id, std::string_view value) |
| 65 | { |
no test coverage detected