From 44ba9a9eebec2ffe202fc5594f76864a56f3730a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 23 Jul 2014 17:05:58 -0700 Subject: Enums are not usually integers, sorry --- src/map/mapflag.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/mapflag.cpp') diff --git a/src/map/mapflag.cpp b/src/map/mapflag.cpp index f9cf8f6..be2ae67 100644 --- a/src/map/mapflag.cpp +++ b/src/map/mapflag.cpp @@ -38,8 +38,7 @@ void MapFlags::set(MapFlag mf, bool val) flags &=~ static_cast(mf); } -template<> -bool extract(XString str, MapFlag *mf) +bool extract(XString str, MapFlag *mf) { const struct { -- cgit v1.2.3-60-g2f50