From 5f1432057d8069171e827ef57e813350ec088fb1 Mon Sep 17 00:00:00 2001 From: Eric Harding Date: Mon, 13 Nov 2017 15:57:47 -0500 Subject: [PATCH] Logger.nonull should not accept a struct to check for null. --- src/client/spark_core/logging/Logger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/spark_core/logging/Logger.cs b/src/client/spark_core/logging/Logger.cs index dfbf65f20..0edcc4703 100644 --- a/src/client/spark_core/logging/Logger.cs +++ b/src/client/spark_core/logging/Logger.cs @@ -87,7 +87,7 @@ namespace mbts } } - public static void notnull(object o) { + public static void notnull(T o) where T : class { assert(o != null); }