From dd1ca012cb4386f46c59e78aae426ad765d2f591 Mon Sep 17 00:00:00 2001 From: daanzu Date: Fri, 1 Feb 2019 06:41:20 -0500 Subject: [PATCH] Fix Visual Studio error due to alternate syntactic form of noreturn --- 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),