Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer/corehost/cli/json/rapidjson/document.h')
-rw-r--r--src/installer/corehost/cli/json/rapidjson/document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/installer/corehost/cli/json/rapidjson/document.h b/src/installer/corehost/cli/json/rapidjson/document.h
index 74666e3423e..9783fe4acc9 100644
--- a/src/installer/corehost/cli/json/rapidjson/document.h
+++ b/src/installer/corehost/cli/json/rapidjson/document.h
@@ -2094,11 +2094,11 @@ private:
const SizeType len1 = GetStringLength();
const SizeType len2 = rhs.GetStringLength();
- if (len1 != len2) { return false; }
+ if(len1 != len2) { return false; }
const Ch* const str1 = GetString();
const Ch* const str2 = rhs.GetString();
- if (str1 == str2) { return true; } // fast path for constant string
+ if(str1 == str2) { return true; } // fast path for constant string
return (std::memcmp(str1, str2, sizeof(Ch) * len1) == 0);
}