From f86c812e1a9e5338e6a6f3395e41d4c0a4858e7f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 16 Jul 2014 08:48:27 -0700 Subject: [PATCH] Remove unused SimpleErrorReporter. --- format.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/format.h b/format.h index 87e242c4..d369d3a2 100644 --- a/format.h +++ b/format.h @@ -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.