| 62 | } |
| 63 | |
| 64 | void setString(StringId id, std::string_view value) |
| 65 | { |
| 66 | auto* dst = _strings[id]; |
| 67 | std::memcpy(dst, value.data(), value.size()); |
| 68 | dst[value.size()] = '\0'; |
| 69 | } |
| 70 | |
| 71 | const char* swapString(StringId id, const char* src) |
| 72 | { |
no test coverage detected