mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 16:53:48 -04:00
svc: use m_ for member variables
This commit is contained in:
parent
00116450c3
commit
ce28591ab2
8 changed files with 281 additions and 280 deletions
|
@ -211,13 +211,13 @@ namespace ams::svc::test {
|
|||
template<typename... Ts>
|
||||
struct Validator {
|
||||
private:
|
||||
std::array<bool, sizeof...(Ts)> valid;
|
||||
std::array<bool, sizeof...(Ts)> m_valid;
|
||||
public:
|
||||
constexpr Validator(Ts... args) : valid{static_cast<bool>(args)...} { /* ... */ }
|
||||
constexpr Validator(Ts... args) : m_valid{static_cast<bool>(args)...} { /* ... */ }
|
||||
|
||||
constexpr bool IsValid() const {
|
||||
for (size_t i = 0; i < sizeof...(Ts); i++) {
|
||||
if (!this->valid[i]) {
|
||||
if (!m_valid[i]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue