system/FatalError: remove the obsolete class Error overloads
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "FatalError.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "LogV.hxx"
|
||||
|
||||
@@ -62,18 +61,6 @@ FormatFatalError(const char *fmt, ...)
|
||||
Abort();
|
||||
}
|
||||
|
||||
void
|
||||
FatalError(const Error &error)
|
||||
{
|
||||
FatalError(error.GetMessage());
|
||||
}
|
||||
|
||||
void
|
||||
FatalError(const char *msg, const Error &error)
|
||||
{
|
||||
FormatFatalError("%s: %s", msg, error.GetMessage());
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user