mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Have wuffs_aux take lvalue (not rvalue) references
This commit is contained in:
1 parent
d690ce7dce
commit
2742a4f4be
9 files changed
+47
-42
No files matched your search
@@ -620,8 +620,9 @@ main1(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
|
||||
return wuffs_aux::DecodeCbor(Callbacks(), wuffs_aux::sync_io::FileInput(in))
|
||||
.error_message;
|
||||
Callbacks callbacks;
|
||||
wuffs_aux::sync_io::FileInput input(in);
|
||||
return wuffs_aux::DecodeCbor(callbacks, input).error_message;
|
||||
}
|
||||
|
||||
// ----
|
||||
|
||||
Reference in new issue
Block a user