From 84881f0e04793eb98001c5c39aae8efe46dd5c12 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 12 Apr 2020 10:48:05 -0400 Subject: [PATCH] Remove a stray `#include ` from hyper.h. This seems to be causing `hookset` to use `std::function` instead of `hr::function`. Removing this one line shrinks the normal hyperrogue binary from 9695484 bytes to 9669956 bytes. --- hyper.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/hyper.h b/hyper.h index 7e776bc2..b68879fe 100644 --- a/hyper.h +++ b/hyper.h @@ -633,8 +633,6 @@ color_t darkena(color_t c, int lev, int a); static const int DISTANCE_UNKNOWN = 127; -#include - template int addHook(hookset*& m, int prio, const U& hook) { if(!m) m = new hookset (); while(m->count(prio)) {