1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 10:57:59 +00:00

Rearrange some macros. No functional change intended.

This commit is contained in:
Arthur O'Dwyer
2019-02-08 18:18:56 -05:00
parent 17fbd46352
commit 9471ac4ff5
6 changed files with 40 additions and 32 deletions

View File

@@ -7,9 +7,7 @@
#define VERNUM_HEX 0xA505
#include <stdarg.h>
#if !ISSTEAM
#include "hyper_function.h"
#endif
namespace hr {
@@ -18,12 +16,6 @@ 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;
using std::map;