diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-03-15 21:03:09 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-03-16 00:08:18 -0700 |
commit | 591f51f3d3becf0ff940516010d406bbeec94cf2 (patch) | |
tree | ead4ad5d4deaaec36c82bcd7dd42575d0e44f83a /src/CommandLine.cxx | |
parent | b5d1a0901022d4711973740edadd87ce5913ac68 (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.cxx | 4 |
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" |