From e65a686982a15113f13a3f34bf2efead58c02f17 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Tue, 26 Oct 2021 03:01:22 +0300 Subject: [PATCH] Fix fuzzers build --- fuzzers/oatpp/parser/json/mapping/ObjectMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzers/oatpp/parser/json/mapping/ObjectMapper.cpp b/fuzzers/oatpp/parser/json/mapping/ObjectMapper.cpp index 491bed64..5b3781e3 100644 --- a/fuzzers/oatpp/parser/json/mapping/ObjectMapper.cpp +++ b/fuzzers/oatpp/parser/json/mapping/ObjectMapper.cpp @@ -17,7 +17,7 @@ class Test1 : public oatpp::DTO { }; extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { - oatpp::String input(reinterpret_cast(data), size, true); + oatpp::String input(reinterpret_cast(data), size); oatpp::parser::json::mapping::ObjectMapper mapper; try { mapper.readFromString>(input);