mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 16:07:52 -05:00
service: Resolve cases of member field shadowing
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
This commit is contained in:
@ -6,8 +6,8 @@
|
||||
|
||||
namespace Service::Time {
|
||||
|
||||
Time::Time(std::shared_ptr<Module> module, Core::System& system, const char* name)
|
||||
: Interface(std::move(module), system, name) {
|
||||
Time::Time(std::shared_ptr<Module> module_, Core::System& system_, const char* name_)
|
||||
: Interface{std::move(module_), system_, name_} {
|
||||
// clang-format off
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
|
||||
|
@ -14,7 +14,7 @@ namespace Service::Time {
|
||||
|
||||
class Time final : public Module::Interface {
|
||||
public:
|
||||
explicit Time(std::shared_ptr<Module> time, Core::System& system, const char* name);
|
||||
explicit Time(std::shared_ptr<Module> time, Core::System& system_, const char* name_);
|
||||
~Time() override;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user