From 84ff17dfa607f76e40c497345486e8a4743ee7c3 Mon Sep 17 00:00:00 2001 From: dbj Date: Wed, 13 Nov 2019 09:02:09 +0100 Subject: [PATCH] duplicate of terror removed --- include/fmt/format.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index ecfc3c5f..80702a3e 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -70,15 +70,6 @@ #else # define FMT_HAS_BUILTIN(x) 0 #endif -FMT_BEGIN_NAMESPACE -// terror == terminating error -[[noreturn]] inline void terror(const char msg_[BUFSIZ]) { - ::puts("\n\n\nFast exit on {fmt} error with message: "); - ::puts(msg_); - ::perror("\nPOSIX error message: "); - std::exit(EXIT_FAILURE); -} -FMT_END_NAMESPACE FMT_BEGIN_NAMESPACE // terror == terminating error