| 213 | } |
| 214 | |
| 215 | void MetadataBuilder::remove(CheckStatusWrapper* status, unsigned index) |
| 216 | { |
| 217 | try |
| 218 | { |
| 219 | MutexLockGuard g(mtx, FB_FUNCTION); |
| 220 | |
| 221 | indexError(index, "remove"); |
| 222 | |
| 223 | msgMetadata->items.remove(index); |
| 224 | } |
| 225 | catch (const Exception& ex) |
| 226 | { |
| 227 | ex.stuffException(status); |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | void MetadataBuilder::moveNameToIndex(CheckStatusWrapper* status, const char* name, unsigned index) |
| 232 | { |
no test coverage detected