diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-08-02 15:12:34 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-08-02 15:12:34 +0200 |
commit | 834e94bbdc0601215d5b9c35652c6b7cf8666b5c (patch) | |
tree | 781a0e3a8060c2274b1ac2f0e2113243d4bbbf8b /src | |
parent | 7d00ee0c938ebc4f56a792639a3a723a05e54e10 (diff) | |
download | justbuild-834e94bbdc0601215d5b9c35652c6b7cf8666b5c.tar.gz |
Utils: Drop ill-formed audit checks for truncating JSON
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/cpp/json.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils/cpp/json.hpp b/src/utils/cpp/json.hpp index 984208df..e699c292 100644 --- a/src/utils/cpp/json.hpp +++ b/src/utils/cpp/json.hpp @@ -163,7 +163,6 @@ namespace detail { << (++i == json.size() ? "" : ","); } oss << '}'; - gsl_EnsuresAudit(nlohmann::json::parse(oss.str()) == json); return oss.str(); } if (json.is_array()) { @@ -175,7 +174,6 @@ namespace detail { << (++i == json.size() ? "" : ","); } oss << ']'; - gsl_EnsuresAudit(nlohmann::json::parse(oss.str()) == json); return oss.str(); } return json.dump(); |