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
@@ -76,8 +76,8 @@ class DecodeCborCallbacks {
// cursor_position is the location of the error. That error may be a content
// error (invalid CBOR) or an input error (e.g. network failure).
DecodeCborResult DecodeCbor(
DecodeCborCallbacks&& callbacks,
sync_io::Input&& input,
DecodeCborCallbacks& callbacks,
sync_io::Input& input,
wuffs_base__slice_u32 quirks = wuffs_base__empty_slice_u32());
} // namespace wuffs_aux