mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-09-19 20:44:40 -04:00
C++14: const all the methods!
This commit is contained in:
parent
01cd8c7776
commit
0ea2f9650e
4 changed files with 20 additions and 20 deletions
|
@ -86,7 +86,7 @@ struct region_t {
|
|||
const size_t offset;
|
||||
const size_t size;
|
||||
|
||||
constexpr const void* base() {
|
||||
constexpr const void* base() const {
|
||||
return reinterpret_cast<void*>(portapack::memory::map::spifi_cached.base() + offset);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue