Skip to content

Commit

Permalink
Replaced GCC specific noreturn with C++11 noreturn attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Dec 22, 2015
1 parent 91bfe31 commit 7cbc615
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sexp/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class Parser
~Parser();

private:
void parse_error(const char* msg) const __attribute__((__noreturn__));
[[noreturn]]
void parse_error(const char* msg) const;
std::vector<Value> read_many();
Value read();

Expand Down

0 comments on commit 7cbc615

Please sign in to comment.