2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 02:27:42 +00:00

RetroDataSpec: Make member functions const where applicable

Marks member functions that don't modify instance state as const.
This commit is contained in:
Lioncash
2019-08-14 22:20:37 -04:00
parent fa7785d024
commit 2517fac404
4 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ struct DCLN : BigDNA {
#endif
};
Node root;
size_t getMemoryUsage() { return root.getMemoryUsage(); }
size_t getMemoryUsage() const { return root.getMemoryUsage(); }
/* Dummy MP2 member */
void insertNoClimb(hecl::blender::PyOutStream&) const {}