From 6c299890ea2fedbf692f09bf0476c3fa5e673393 Mon Sep 17 00:00:00 2001 From: Fletcher Dunn Date: Wed, 30 Sep 2020 11:48:39 -0700 Subject: [PATCH] Delete Error() #define. This function (which performs a FATAL PROGRAM TERMINATION) is really poorly named and something I don't like about Source/Steam codebase. But #defining it was even worse. It's currently brekaing protobuf. --- src/public/tier0/dbg.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/public/tier0/dbg.h b/src/public/tier0/dbg.h index 6e8aa01..1249bf3 100644 --- a/src/public/tier0/dbg.h +++ b/src/public/tier0/dbg.h @@ -156,6 +156,5 @@ inline DEST_POINTER_TYPE assert_cast(SOURCE_POINTER_TYPE* pSource) #endif #define Plat_FatalError( ... ) AssertFatalMsg( false, __VA_ARGS__ ) -#define Error( ... ) AssertFatalMsg( false, __VA_ARGS__ ) #endif /* DBG_H */