Saving a byte per node

This commit is contained in:
Dennis Luxen 2010-09-22 10:21:18 +00:00
parent 2acfe2591f
commit 586e8b4c4b

View File

@ -29,8 +29,8 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "../typedefs.h" #include "../typedefs.h"
struct _HeapData { struct _HeapData {
NodeID parent; NodeID parent:31;
bool stalled; bool stalled:1;
_HeapData( NodeID p ) : parent(p), stalled(false) { } _HeapData( NodeID p ) : parent(p), stalled(false) { }
}; };