From 5cf852d8abd07def50b24c53fc3fc3b626969e5b Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Tue, 1 Jan 2019 21:55:42 +0100 Subject: [PATCH] C4Property: Add missing template<> specifier MSVC doesn't care, apparently. --- src/script/C4PropList.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/C4PropList.h b/src/script/C4PropList.h index b5c7e77b1..c4050e259 100644 --- a/src/script/C4PropList.h +++ b/src/script/C4PropList.h @@ -58,6 +58,7 @@ public: const char *GetSafeKey() const { if (Key && Key->GetCStr()) return Key->GetCStr(); return ""; } // get key as C string; return "" if undefined. never return nullptr }; +template<> inline bool C4Set::Equals(const C4Property &a, const C4Property &b) { return a.Key == b.Key;