MCPcopy Create free account
hub / github.com/PhoneVR-Developers/PhoneVR / ~LocalArray

Method ~LocalArray

code/common/libs/ifaddrs/LocalArray.h:51–55  ·  view source on GitHub ↗

* Frees the heap-allocated buffer, if there was one. */

Source from the content-addressed store, hash-verified

49 * Frees the heap-allocated buffer, if there was one.
50 */
51 ~LocalArray() {
52 if (mPtr != &mOnStackBuffer[0]) {
53 delete[] mPtr;
54 }
55 }
56
57 // Capacity.
58 size_t size() { return mSize; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected