1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

fixes for mobile

This commit is contained in:
Zeno Rogue
2019-02-08 16:52:44 +01:00
parent 13c60727cd
commit f546bba84a
6 changed files with 20 additions and 1 deletions

View File

@@ -7,7 +7,9 @@
#define VERNUM_HEX 0xA505
#include <stdarg.h>
#if !ISSTEAM
#include "hyper_function.h"
#endif
namespace hr {
@@ -16,7 +18,11 @@ void ignore(T&&) {
// placate GCC's overzealous -Wunused-result
}
#if USE_STDFUNCTION
using std::function;
#else
template<class Sig> using function = hyper_function<Sig>;
#endif
// functions and types used from the standard library
using std::vector;