Skip to content

Commit

Permalink
Logfile: Add BOOST_ATTRIBUTE_NORETURN to logThrow(), fixes warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Jul 2, 2013
1 parent 26d21ec commit 326f618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logfile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 326f618

Please sign in to comment.