summaryrefslogtreecommitdiff
path: root/src/CommandLine.cxx
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/CommandLine.cxx
parentb5d1a0901022d4711973740edadd87ce5913ac68 (diff)
replace noreturn attribute with standard C++ version
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r--src/CommandLine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx
index 9e9244711..f076cfbf6 100644
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -106,7 +106,7 @@ static constexpr OptionDef option_defs[] = {
static constexpr Domain cmdline_domain("cmdline");
-gcc_noreturn
+[[noreturn]]
static void version()
{
printf("Music Player Daemon " VERSION " (%s)"
@@ -272,7 +272,7 @@ static void PrintOption(const OptionDef &opt)
opt.GetDescription());
}
-gcc_noreturn
+[[noreturn]]
static void help()
{
printf("Usage:\n"