Remove unused SimpleErrorReporter.
This commit is contained in:
1 parent
4edc88f609
commit
f86c812e1a
1 file changed
-6
@@ -544,12 +544,6 @@ void FormatWinErrorMessage(
|
||||
fmt::Writer &out, int error_code, fmt::StringRef message);
|
||||
#endif
|
||||
|
||||
struct SimpleErrorReporter {
|
||||
void operator()(const void *, fmt::StringRef message) const {
|
||||
throw fmt::FormatError(message);
|
||||
}
|
||||
};
|
||||
|
||||
// Throws Exception(message) if format contains '}', otherwise throws
|
||||
// FormatError reporting unmatched '{'. The idea is that unmatched '{'
|
||||
// should override other errors.
|
||||
|
||||
Reference in new issue
Block a user