MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / ~ZeroOnDestroy

Method ~ZeroOnDestroy

app/src/AI/KeyVault.cpp:28–32  ·  view source on GitHub ↗

* @brief Best-effort overwrite and clear of the referenced QString. */

Source from the content-addressed store, hash-verified

26 * @brief Best-effort overwrite and clear of the referenced QString.
27 */
28AI::ZeroOnDestroy::~ZeroOnDestroy()
29{
30 m_ref.fill(QChar(QChar::Null));
31 m_ref.clear();
32}
33
34//--------------------------------------------------------------------------------------------------
35// KeyVault construction

Callers

nothing calls this directly

Calls 2

fillMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected