diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-02 09:01:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-02 13:21:40 +0200 |
commit | b26ff81a6f8f5ad99bba153cf57bef68fd03930d (patch) | |
tree | 70411312f58b1ad6a0c0d3cc72ecaea417233a25 /static | |
parent | 62172db2d71fdc49a3ad9c177b8635353b90a7eb (diff) |
use [[noreturn]] instead of asserts that badUsage exits
Change-Id: I927434290b02b6cc0386b1e0038cd8385a762249
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166996
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'static')
-rw-r--r-- | static/source/embindmaker/embindmaker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx index 0b7634cf8409..b696a09c6127 100644 --- a/static/source/embindmaker/embindmaker.cxx +++ b/static/source/embindmaker/embindmaker.cxx @@ -43,7 +43,7 @@ namespace { -void badUsage() +[[noreturn]] void badUsage() { std::cerr << "Usage:\n\n" |