MCPcopy Create free account
hub / github.com/cpputest/cpputest / SimpleString

Method SimpleString

src/CppUTest/SimpleString.cpp:290–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290SimpleString::SimpleString(const char *otherBuffer)
291 : buffer_(NULLPTR), bufferSize_(0)
292{
293 if (otherBuffer == NULLPTR)
294 setInternalBufferAsEmptyString();
295 else
296 copyBufferToNewInternalBuffer(otherBuffer);
297}
298
299SimpleString::SimpleString(const char *other, size_t repeatCount)
300 : buffer_(NULLPTR), bufferSize_(0)

Callers

nothing calls this directly

Calls 1

getBufferMethod · 0.80

Tested by

no test coverage detected