mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-14 04:02:09 +03:00
cmStringAlgorithms: Fix core.NonNullParamChecker diagnostic in cmAlphaNum
This commit is contained in:
1 parent
51ed0eba18
commit
5c7a55edc2
1 file changed
+1
-1
@@ -146,7 +146,7 @@ public:
|
||||
{
|
||||
}
|
||||
cmAlphaNum(const char* str)
|
||||
: View_(str)
|
||||
: View_(str ? cm::string_view(str) : cm::string_view())
|
||||
{
|
||||
}
|
||||
cmAlphaNum(char ch)
|
||||
|
||||
Reference in new issue
Block a user