C++14: const all the methods!

This commit is contained in:
Jared Boone
2017-01-05 17:06:44 -08:00
parent 01cd8c7776
commit 0ea2f9650e
4 changed files with 20 additions and 20 deletions

View File

@@ -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);
}
};