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:
parent
df51eb9bde
commit
9e726a9250
60 changed files with 119 additions and 117 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue