We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd02b89 commit 6be9f48Copy full SHA for 6be9f48
include/simdjson/generic/ondemand/document-inl.h
@@ -30,7 +30,7 @@ simdjson_really_inline value document::as_value() noexcept {
30
template<typename T>
31
simdjson_result<T> document::consume_if_success(simdjson_result<T> &&result) noexcept {
32
if (result.error()) { json = nullptr; }
33
- return result.second;
+ return std::forward<simdjson_result<T>>(result);
34
}
35
36
simdjson_really_inline simdjson_result<array> document::get_array() & noexcept {
0 commit comments