aboutsummaryrefslogtreecommitdiffstats
path: root/cxx11/c++11-test-constexpr-N2235.cpp
diff options
context:
space:
mode:
authorNodmgatall <Nodmgatall@users.noreply.github.com>2015-06-13 21:51:38 +0200
committerNodmgatall <Nodmgatall@users.noreply.github.com>2015-06-13 21:51:38 +0200
commit2e5e01d6d5e9f7c74ed7449e843736e08077b092 (patch)
tree7fac77f7e1518ec12270fbb725e84c842bf5dffd /cxx11/c++11-test-constexpr-N2235.cpp
parente5cf985e03c2741cfdeb0c504cc1b7b0a631d151 (diff)
Make Receiver inheritance public instead of implicitly private
Otherwise you get an error when trying to run the example. /home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/entityx/entityx/Event.h: In instantiation of ‘void entityx::EventManager::subscribe(Receiver&) [with E = PlayerInstrucionEvent; Receiver = MovementSystem]’: /home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/src/system_movement.hpp:17:58: required from here /home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/entityx/entityx/Event.h:130:26: error: ‘entityx::BaseReceiver’ is an inaccessible base of ‘MovementSystem’ BaseReceiver &base = receiver;
Diffstat (limited to 'cxx11/c++11-test-constexpr-N2235.cpp')
0 files changed, 0 insertions, 0 deletions