diff options
author | Brad King <brad.king@kitware.com> | 2024-10-23 23:24:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-10-26 10:01:09 (GMT) |
commit | 5c7a55edc2f11b96c93cf207773c176ade66326f (patch) | |
tree | 93daeb87f5c025e01ecce95af31c158d9ecaf202 | |
parent | 51ed0eba18988af38ae9da0603b47d534ca50439 (diff) | |
download | CMake-5c7a55edc2f11b96c93cf207773c176ade66326f.zip CMake-5c7a55edc2f11b96c93cf207773c176ade66326f.tar.gz CMake-5c7a55edc2f11b96c93cf207773c176ade66326f.tar.bz2 |
cmStringAlgorithms: Fix core.NonNullParamChecker diagnostic in cmAlphaNum
-rw-r--r-- | Source/cmStringAlgorithms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringAlgorithms.h b/Source/cmStringAlgorithms.h index 3d7f9b0..2bd615a 100644 --- a/Source/cmStringAlgorithms.h +++ b/Source/cmStringAlgorithms.h @@ -146,7 +146,7 @@ public: { } cmAlphaNum(const char* str) - : View_(str) + : View_(str ? cm::string_view(str) : cm::string_view()) { } cmAlphaNum(char ch) |