mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
add non-member begin/end methods for older compilers
This commit is contained in:
parent
01de3d9d5c
commit
8f797e9b4c
@ -184,6 +184,14 @@ inline RegisterIterator BoundedRegisterMask::end() const {
|
||||
return RegisterIterator(start - 1, -1, start - 1, *this);
|
||||
}
|
||||
|
||||
inline RegisterIterator begin(BoundedRegisterMask mask) {
|
||||
return mask.begin();
|
||||
}
|
||||
|
||||
inline RegisterIterator end(BoundedRegisterMask mask) {
|
||||
return mask.end();
|
||||
}
|
||||
|
||||
class RegisterFile {
|
||||
public:
|
||||
BoundedRegisterMask allRegisters;
|
||||
|
Loading…
Reference in New Issue
Block a user