summaryrefslogtreecommitdiff
path: root/src/map/mapflag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mapflag.cpp')
-rw-r--r--src/map/mapflag.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/mapflag.cpp b/src/map/mapflag.cpp
index be2ae67..9f3c9ab 100644
--- a/src/map/mapflag.cpp
+++ b/src/map/mapflag.cpp
@@ -18,11 +18,15 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
+#include "../strings/xstring.hpp"
+
#include "../poison.hpp"
namespace tmwa
{
+namespace map
+{
// because bitfields, that's why
bool MapFlags::get(MapFlag mf) const
@@ -38,7 +42,7 @@ void MapFlags::set(MapFlag mf, bool val)
flags &=~ static_cast<unsigned>(mf);
}
-bool extract(XString str, MapFlag *mf)
+bool impl_extract(XString str, MapFlag *mf)
{
const struct
{
@@ -91,4 +95,5 @@ MapFlag map_flag_from_int(int shift)
{
return static_cast<MapFlag>(1 << shift);
}
+} // namespace map
} // namespace tmwa