summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-24 18:31:27 -0700
committerGitHub <noreply@github.com>2021-08-24 18:31:27 -0700
commit4654fb96b0e2eb1b57857ae7f0438341fb2f9292 (patch)
tree4b257caf10eb6e7dfd2113671a7ebdcd845dcf3b /src/core/core.h
parentbed0c3c92a6db45b29e787016fd21542606a031a (diff)
parent84b4ac572954c3fbf114a877f00a12020d3b31f8 (diff)
Merge pull request #6917 from ameerj/log-init-fix
logging: Fix log filter during initialization
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 65b447a1c..f9116ebb6 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -120,12 +120,7 @@ public:
* Gets the instance of the System singleton class.
* @returns Reference to the instance of the System singleton class.
*/
- [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
- if (!s_instance) {
- abort();
- }
- return *s_instance;
- }
+ [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance();
static void InitializeGlobalInstance();