diff options
author | Brad King <brad.king@kitware.com> | 2022-08-05 12:54:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-05 12:54:53 (GMT) |
commit | c3da25f3d903568aa067ba0184791aad557d059c (patch) | |
tree | 578d1a30b234800a08471a1cf23880da2ae46684 /Source | |
parent | ac00b37ea2cf72af9133e53d55597e34b3fab96e (diff) | |
parent | e0d3e6e147acfec93351c4ca719777677fc835ba (diff) | |
download | CMake-c3da25f3d903568aa067ba0184791aad557d059c.zip CMake-c3da25f3d903568aa067ba0184791aad557d059c.tar.gz CMake-c3da25f3d903568aa067ba0184791aad557d059c.tar.bz2 |
Merge topic 'string-JSON-error-typo'
e0d3e6e147 string(JSON): Fix typo in error message
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7547
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmStringCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index fe311d1..c12d1fe 100644 --- a/Source/cmStringCommand.cxx +++ b/Source/cmStringCommand.cxx @@ -1014,7 +1014,7 @@ int ParseIndex( Json::ArrayIndex index = static_cast<Json::ArrayIndex>(lindex); if (index >= max) { cmAlphaNum sizeStr{ max }; - throw json_error({ "expected an index less then "_s, sizeStr.View(), + throw json_error({ "expected an index less than "_s, sizeStr.View(), " got '"_s, str, "'"_s }, progress); } |