mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 21:51:45 +00:00
kern: more iterator adjustments
This commit is contained in:
parent
2d8acf9c64
commit
390bdc7b6b
1 changed files with 4 additions and 4 deletions
|
@ -85,7 +85,7 @@ namespace ams::util {
|
||||||
private:
|
private:
|
||||||
pointer node;
|
pointer node;
|
||||||
public:
|
public:
|
||||||
explicit Iterator(pointer n) : node(n) { /* ... */ }
|
explicit ALWAYS_INLINE Iterator(pointer n) : node(n) { /* ... */ }
|
||||||
|
|
||||||
ALWAYS_INLINE bool operator==(const Iterator &rhs) const {
|
ALWAYS_INLINE bool operator==(const Iterator &rhs) const {
|
||||||
return this->node == rhs.node;
|
return this->node == rhs.node;
|
||||||
|
@ -301,11 +301,11 @@ namespace ams::util {
|
||||||
private:
|
private:
|
||||||
ImplIterator iterator;
|
ImplIterator iterator;
|
||||||
private:
|
private:
|
||||||
explicit Iterator(ImplIterator it) : iterator(it) { /* ... */ }
|
explicit ALWAYS_INLINE Iterator(ImplIterator it) : iterator(it) { /* ... */ }
|
||||||
|
|
||||||
explicit Iterator(ImplIterator::pointer p) : iterator(p) { /* ... */ }
|
explicit ALWAYS_INLINE Iterator(ImplIterator::pointer p) : iterator(p) { /* ... */ }
|
||||||
|
|
||||||
ImplIterator GetImplIterator() const {
|
ALWAYS_INLINE ImplIterator GetImplIterator() const {
|
||||||
return this->iterator;
|
return this->iterator;
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue