1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 22:07:38 +00:00

Get hyper_function.h compiling on GCC 4.6.

We must avoid the following features:
- the `using` syntax for typedefs
- alias templates (so, rename `hyper_function` to `function`)
- the `override` keyword
- defaulted virtual destructors
This commit is contained in:
Arthur O'Dwyer
2019-02-10 11:49:55 -05:00
parent 5efd1f5662
commit ac37e5c000
3 changed files with 20 additions and 40 deletions

View File

@@ -72,10 +72,6 @@
#define NOLICENSE ISSTEAM
#endif
#ifndef USE_STDFUNCTION
#define USE_STDFUNCTION ISSTEAM
#endif
#ifndef CAP_SHADER
#define CAP_SHADER CAP_GL
#endif