summaryrefslogtreecommitdiff
path: root/methods/basehttp.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2024-12-26 21:00:03 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2025-01-05 22:16:08 +0000
commit9000543eb219f83b6b9592b681fc6811bc56e26f (patch)
tree722b028a46f9557df56e52c4283cb50857c2e5b8 /methods/basehttp.h
parent81d6684a0c05c1232f853045b8f1eaa8cc1a782e (diff)
Drop APT_NORETURN usage
[[noreturn]] is a C++11 feature and so we can just use it unconditionally.
Diffstat (limited to 'methods/basehttp.h')
-rw-r--r--methods/basehttp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/basehttp.h b/methods/basehttp.h
index ee4a84d3d..1d3ed1ace 100644
--- a/methods/basehttp.h
+++ b/methods/basehttp.h
@@ -163,7 +163,7 @@ class BaseHttpMethod : public aptAuthConfMethod
static std::string FailFile;
static int FailFd;
static time_t FailTime;
- static APT_NORETURN void SigTerm(int);
+ [[noreturn]] static void SigTerm(int);
int Loop();