Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion include/cgf_diagnostics.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ class cgf_diagnostics {

static bool is_available() { return m_instance != nullptr; }

static void teardown() { m_instance.reset(); }
static void teardown() {
// Empty teardown function.
// If we ever need to do something specific for teardown in cfg_diagnostics
// we can use this function to do so.
}

static cgf_diagnostics& get_instance() {
assert(m_instance != nullptr);
Expand Down
Loading