summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/npf/queue.h')
-rw-r--r--src/pathfinder/npf/queue.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/pathfinder/npf/queue.h b/src/pathfinder/npf/queue.h
index 31dac0c0a..b56f6b530 100644
--- a/src/pathfinder/npf/queue.h
+++ b/src/pathfinder/npf/queue.h
@@ -60,14 +60,10 @@ struct Queue {
*/
Queue_FreeProc *free;
- union {
- struct {
- uint max_size;
- uint size;
- uint blocks; ///< The amount of blocks for which space is reserved in elements
- BinaryHeapNode **elements;
- } binaryheap;
- } data;
+ uint max_size;
+ uint size;
+ uint blocks; ///< The amount of blocks for which space is reserved in elements
+ BinaryHeapNode **elements;
};