* Frees the heap-allocated buffer, if there was one. */
| 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; } |
nothing calls this directly
no outgoing calls
no test coverage detected