diff options
author | Alec Thomas <alec@swapoff.org> | 2015-04-24 11:47:33 +1000 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2015-04-24 11:47:33 +1000 |
commit | 29d8c3763c27e5cc18695f8261145c836670efd7 (patch) | |
tree | afd06bf8135fb3e865037dde8beaac80172fc32e /examples/example.cc | |
parent | 26f02d3e4a8d78d4dbe406748b65da83195ad170 (diff) |
Fix a bunch of constness issues (fixes #95).
- Use SFINAE to prevent non-const access to component<C>().
- Correctly de-const component types before accessing
Component<C>::family(). Avoids accidentally assigning new family IDs.
- ComponentHandle should handle const propagation correctly now.
- ComponentHandle.manager_ should now be `const EntityManager` where
appropriate.
Diffstat (limited to 'examples/example.cc')
0 files changed, 0 insertions, 0 deletions