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:
8
hyper.h
8
hyper.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user