system/FatalError: remove the obsolete class Error overloads
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
#include <windef.h>
|
||||
#endif
|
||||
|
||||
class Error;
|
||||
|
||||
/**
|
||||
* Log the specified message and abort the process.
|
||||
*/
|
||||
@@ -40,14 +38,6 @@ gcc_noreturn
|
||||
void
|
||||
FormatFatalError(const char *fmt, ...);
|
||||
|
||||
gcc_noreturn
|
||||
void
|
||||
FatalError(const Error &error);
|
||||
|
||||
gcc_noreturn
|
||||
void
|
||||
FatalError(const char *msg, const Error &error);
|
||||
|
||||
/**
|
||||
* Call this after a system call has failed that is not supposed to
|
||||
* fail. Prints the given message, the system error message (from
|
||||
|
Reference in New Issue
Block a user