diff --git a/include/cgf_diagnostics.h b/include/cgf_diagnostics.h index fb9b59f16..2dff550ce 100644 --- a/include/cgf_diagnostics.h +++ b/include/cgf_diagnostics.h @@ -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);