From 326f61830c3df2c505b366ea3481cb9bf3024d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Tue, 2 Jul 2013 18:10:23 +0200 Subject: [PATCH] Logfile: Add BOOST_ATTRIBUTE_NORETURN to logThrow(), fixes warnings. --- src/Logfile.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logfile.hpp b/src/Logfile.hpp index 963ecfb..c0d5ecb 100644 --- a/src/Logfile.hpp +++ b/src/Logfile.hpp @@ -35,7 +35,7 @@ class Logfile void open(const std::string& filename, logstyle style = logstyle::like_extension); loglevel minLevel() const; void setMinLevel(loglevel level); - void logThrow( + BOOST_ATTRIBUTE_NORETURN void logThrow( const std::exception& ex, loglevel level = loglevel::error, char const* location = nullptr);