MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / ~CAPIString

Method ~CAPIString

tiledb/sm/cpp_api/capi_string.h:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 ~CAPIString() {
67 auto result = tiledb_status(tiledb_string_free(&string_));
68 if (result != TILEDB_OK) {
69 log_warn("Could not free string; Error code: " + std::to_string(result));
70 }
71 }
72
73 // Disable copy and move. Because this class owns a resource,
74 // copying it must not be supported, but moving it could be.

Callers

nothing calls this directly

Calls 3

tiledb_statusFunction · 0.85
tiledb_string_freeFunction · 0.85
log_warnFunction · 0.85

Tested by

no test coverage detected