summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-15 21:03:09 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-16 00:08:18 -0700
commit591f51f3d3becf0ff940516010d406bbeec94cf2 (patch)
treeead4ad5d4deaaec36c82bcd7dd42575d0e44f83a /src/lib
parentb5d1a0901022d4711973740edadd87ce5913ac68 (diff)
replace noreturn attribute with standard C++ version
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dbus/Error.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dbus/Error.hxx b/src/lib/dbus/Error.hxx
index 9f1deb8f2..6a5e84f04 100644
--- a/src/lib/dbus/Error.hxx
+++ b/src/lib/dbus/Error.hxx
@@ -71,7 +71,7 @@ public:
return error.message;
}
- gcc_noreturn
+ [[noreturn]]
void Throw(const char *prefix) const;
void CheckThrow(const char *prefix) const;
};