From 56cfb95d094acda857a3e402bd6e37078a859cc7 Mon Sep 17 00:00:00 2001 From: David Zurow Date: Fri, 1 Feb 2019 13:31:35 -0500 Subject: [PATCH] [src] Fix Visual Studio error due to alternate syntactic form of noreturn (#3018) --- src/base/kaldi-error.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/kaldi-error.cc b/src/base/kaldi-error.cc index 3eeebe01910..e1aec2e59db 100644 --- a/src/base/kaldi-error.cc +++ b/src/base/kaldi-error.cc @@ -221,7 +221,7 @@ FatalMessageLogger::FatalMessageLogger(LogMessageEnvelope::Severity severity, } } -[[ noreturn ]] FatalMessageLogger::~FatalMessageLogger() noexcept(false) { +FatalMessageLogger::~FatalMessageLogger [[ noreturn ]] () noexcept(false) { std::string str = GetMessage(); // print the mesage (or send to logging handler),