From 5c65dadd72cb6a59deec984e0babd94fc58ccf10 Mon Sep 17 00:00:00 2001 From: Jiri Drbalek Date: Thu, 19 Mar 2015 12:32:30 +0100 Subject: [PATCH] add comment about compatibility --- include/mapnik/enumeration.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mapnik/enumeration.hpp b/include/mapnik/enumeration.hpp index 69e81e946..53dcd8a40 100644 --- a/include/mapnik/enumeration.hpp +++ b/include/mapnik/enumeration.hpp @@ -177,6 +177,8 @@ public: * */ void from_string(std::string const& str) { + // TODO: Enum value strings with underscore are deprecated in Mapnik 3.x + // and support will be removed in Mapnik 4.x. std::string str_copy(str); std::replace(str_copy.begin(), str_copy.end(), '_', '-'); for (unsigned i = 0; i < THE_MAX; ++i)