| 240 | //========================================================================== |
| 241 | |
| 242 | void FSerializer::WriteKey(const char *key) |
| 243 | { |
| 244 | if (isWriting() && w->inObject()) |
| 245 | { |
| 246 | assert(key != nullptr); |
| 247 | if (key == nullptr) |
| 248 | { |
| 249 | I_Error("missing element name"); |
| 250 | } |
| 251 | w->Key(key); |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | //========================================================================== |
| 256 | // |
no test coverage detected