system/FatalError: remove the obsolete class Error overloads

This commit is contained in:
Max Kellermann
2016-11-10 12:40:38 +01:00
parent 4e16ea0f0a
commit 14885f25b4
2 changed files with 0 additions and 23 deletions

View File

@@ -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