1
0
Fork 0
spectre/examples
Henrik Hautakoski c09febc4d8 examples/events/EventsExample.cpp: store std::string instead of char pointer.
Some compilers (ehm, microsoft) returns a temporary variable for event.key.getKeyName() that is only valid during the statement and not scope.

Fix this by storing std::string instead. So the object's lifetime is the entire if statement.
2020-10-14 13:50:52 +02:00
..
events examples/events/EventsExample.cpp: store std::string instead of char pointer. 2020-10-14 13:50:52 +02:00
text examples/text/Game.h: no need to include Vector2 2020-02-01 15:48:33 +01:00
build.lua Adding Event example 2020-10-14 13:21:16 +02:00