From 251f4f92c896493ac9380101dccbf865b23efdd4 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Mon, 18 Apr 2022 19:55:49 -0700 Subject: [PATCH] Fixes build errors --- library/include/modules/EventManager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/include/modules/EventManager.h b/library/include/modules/EventManager.h index 95fb96ab5..7808f6d8c 100644 --- a/library/include/modules/EventManager.h +++ b/library/include/modules/EventManager.h @@ -13,6 +13,7 @@ #include "df/unit.h" #include "df/unit_inventory_item.h" #include "df/unit_wound.h" +#include "df/construction.h" namespace DFHack { namespace EventManager { @@ -211,7 +212,7 @@ namespace std { } namespace df{ - bool operator==(const df::construction &A, const df::construction &B){ + inline bool operator==(const df::construction &A, const df::construction &B){ return A.pos == B.pos; } }