mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-19 09:25:08 -04:00
ams: replace most remaining operator & with std::addressof
This commit is contained in:
parent
ce8aacef21
commit
1ab0bd1765
109 changed files with 587 additions and 586 deletions
|
@ -115,12 +115,12 @@ namespace ams::util::ini {
|
|||
|
||||
int ParseFile(fs::FileHandle file, void *user_ctx, Handler h) {
|
||||
FileContext ctx(file);
|
||||
return ini_parse_stream(ini_reader_file_handle, &ctx, h, user_ctx);
|
||||
return ini_parse_stream(ini_reader_file_handle, std::addressof(ctx), h, user_ctx);
|
||||
}
|
||||
|
||||
int ParseFile(fs::fsa::IFile *file, void *user_ctx, Handler h) {
|
||||
IFileContext ctx(file);
|
||||
return ini_parse_stream(ini_reader_ifile, &ctx, h, user_ctx);
|
||||
return ini_parse_stream(ini_reader_ifile, std::addressof(ctx), h, user_ctx);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue