summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:29:50 -0800
committerGitHub <noreply@github.com>2019-01-14 17:29:50 -0800
commitb29d07ac62a9e7df427ab71a789cfcc96de9f4db (patch)
tree7d0c769098f5b69dd80b24c8a831d7255d70a71c /src/error.h
parentccb7019c8b014b907d88bbcfb802b7f1458383b6 (diff)
parent88fd3a38b9456998c59dd49bb225504156274c83 (diff)
downloadledger-b29d07ac62a9e7df427ab71a789cfcc96de9f4db.tar.gz
ledger-b29d07ac62a9e7df427ab71a789cfcc96de9f4db.tar.bz2
ledger-b29d07ac62a9e7df427ab71a789cfcc96de9f4db.zip
Merge branch 'next' into move-have-edit
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h
index ba278519..bc9953cd 100644
--- a/src/error.h
+++ b/src/error.h
@@ -47,7 +47,7 @@ namespace ledger {
extern std::ostringstream _desc_buffer;
template <typename T>
-inline void throw_func(const string& message) {
+[[ noreturn ]] inline void throw_func(const string& message) {
_desc_buffer.clear();
_desc_buffer.str("");
throw T(message);