Have wuffs_aux take lvalue (not rvalue) references

This commit is contained in:
Nigel Tao committed 2020-08-17 00:02:49 +10:00
1 parent d690ce7dce
commit 2742a4f4be
9 files changed
+47 -42

No files matched your search

+2 -2
View File
@@ -96,8 +96,8 @@ extern const char DecodeJson_NoMatch[];
// The JSON Pointer implementation is greedy: duplicate keys are not rejected
// but only the first match for each '/'-separated fragment is followed.
DecodeJsonResult DecodeJson(
DecodeJsonCallbacks&& callbacks,
sync_io::Input&& input,
DecodeJsonCallbacks& callbacks,
sync_io::Input& input,
wuffs_base__slice_u32 quirks = wuffs_base__empty_slice_u32(),
std::string json_pointer = std::string());