diff --git a/src/raster_colorizer.cpp b/src/raster_colorizer.cpp index fee2d8887..f4502e368 100644 --- a/src/raster_colorizer.cpp +++ b/src/raster_colorizer.cpp @@ -24,11 +24,9 @@ #include #include -#include - -using namespace std; -using namespace mapnik; +namespace mapnik +{ //! \brief Strings for the colorizer_mode enumeration static const char *colorizer_mode_strings[] = { @@ -86,7 +84,7 @@ std::string colorizer_stop::to_string() const raster_colorizer::raster_colorizer(colorizer_mode mode/* = COLORIZER_LINEAR*/, const color& _color/* = color(0,0,0,0)*/) : default_mode_(mode) , default_color_(_color) - , epsilon_(numeric_limits::epsilon()) + , epsilon_(std::numeric_limits::epsilon()) { } @@ -254,3 +252,5 @@ color raster_colorizer::get_color(float value) const { } +} +