mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 13:07:46 +00:00
core: Make variable shadowing a compile-time error
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
This commit is contained in:
parent
37e988258a
commit
eeae5217ba
99 changed files with 304 additions and 279 deletions
|
@ -17,7 +17,7 @@ class CTREncryptionLayer : public EncryptionLayer {
|
|||
public:
|
||||
using IVData = std::array<u8, 16>;
|
||||
|
||||
CTREncryptionLayer(FileSys::VirtualFile base, Key128 key, std::size_t base_offset);
|
||||
CTREncryptionLayer(FileSys::VirtualFile base_, Key128 key_, std::size_t base_offset_);
|
||||
|
||||
std::size_t Read(u8* data, std::size_t length, std::size_t offset) const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue