From c42b91980bd695f7a7ba0938e53d64177aa203ac Mon Sep 17 00:00:00 2001 From: John Keiser Date: Thu, 10 Sep 2020 08:48:28 -0700 Subject: [PATCH] Fix VC++ forward friend declarations --- include/simdjson/generic/ondemand/array_iterator.h | 1 + include/simdjson/generic/ondemand/json_iterator.h | 6 ++++++ include/simdjson/generic/ondemand/raw_json_string.h | 1 + 3 files changed, 8 insertions(+) diff --git a/include/simdjson/generic/ondemand/array_iterator.h b/include/simdjson/generic/ondemand/array_iterator.h index 0c1c0ad0..de06e614 100644 --- a/include/simdjson/generic/ondemand/array_iterator.h +++ b/include/simdjson/generic/ondemand/array_iterator.h @@ -4,6 +4,7 @@ namespace simdjson { namespace SIMDJSON_IMPLEMENTATION { namespace ondemand { +class array; class value; class document; diff --git a/include/simdjson/generic/ondemand/json_iterator.h b/include/simdjson/generic/ondemand/json_iterator.h index 6a08f70a..e82040ce 100644 --- a/include/simdjson/generic/ondemand/json_iterator.h +++ b/include/simdjson/generic/ondemand/json_iterator.h @@ -2,6 +2,12 @@ namespace simdjson { namespace SIMDJSON_IMPLEMENTATION { namespace ondemand { +class document; +class object; +class array; +class value; +class raw_json_string; +class parser; class json_iterator_ref; /** diff --git a/include/simdjson/generic/ondemand/raw_json_string.h b/include/simdjson/generic/ondemand/raw_json_string.h index 52bb67a2..e3df89e9 100644 --- a/include/simdjson/generic/ondemand/raw_json_string.h +++ b/include/simdjson/generic/ondemand/raw_json_string.h @@ -4,6 +4,7 @@ namespace simdjson { namespace SIMDJSON_IMPLEMENTATION { namespace ondemand { +class object; class parser; /**