Logger.nonull should not accept a struct to check for null.

This commit is contained in:
Eric Harding committed 2017-11-13 16:12:51 -05:00
1 parent 712b3dee1c
commit 5f1432057d
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ namespace mbts
}
}
public static void notnull(object o) {
public static void notnull<T>(T o) where T : class {
assert(o != null);
}