From 52d4b0edfdab858ce07516dd5cdb02cba2d8e17d Mon Sep 17 00:00:00 2001 From: Joel Brown Date: Tue, 16 Dec 2014 17:50:23 -0800 Subject: [PATCH] change config_error to std::runtime_error in scale_hsla struct --- include/mapnik/image_filter_types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/image_filter_types.hpp b/include/mapnik/image_filter_types.hpp index 315ea8578..f06118903 100644 --- a/include/mapnik/image_filter_types.hpp +++ b/include/mapnik/image_filter_types.hpp @@ -26,7 +26,6 @@ // mapnik #include #include -#include #include // stl @@ -34,6 +33,7 @@ #include #include // for std::back_insert_iterator #include // std::ref +#include namespace mapnik { namespace filter { @@ -101,7 +101,7 @@ struct scale_hsla : image_filter_base a0 < 0 || a0 > 1 || a1 < 0 || a1 > 1) { - throw config_error("scale-hsla values must be between 0 and 1"); + throw std::runtime_error("scale-hsla values must be between 0 and 1"); } } inline bool is_identity() const {