speed up compile of image_util.hpp

This commit is contained in:
Dane Springmeyer 2013-01-08 18:40:22 -08:00
parent f315a87874
commit 339e23d63e

View file

@ -25,22 +25,26 @@
// mapnik // mapnik
#include <mapnik/config.hpp> #include <mapnik/config.hpp>
#include <mapnik/palette.hpp>
#ifdef _MSC_VER #ifdef _MSC_VER
#include <mapnik/graphics.hpp> #include <mapnik/graphics.hpp>
#endif #endif
// boost // boost
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp>
#include <boost/optional.hpp> #include <boost/optional.hpp>
// stl // stl
#include <string> #include <string>
#include <cmath>
namespace mapnik { namespace mapnik {
// fwd declares
class Map; class Map;
class rgba_palette;
class image_32;
class ImageWriterException : public std::exception class ImageWriterException : public std::exception
{ {
private: private:
@ -188,7 +192,6 @@ void add_border(T & image)
/////////// save_to_file //////////////////////////////////////////////// /////////// save_to_file ////////////////////////////////////////////////
class image_32;
MAPNIK_DECL void save_to_file(image_32 const& image, MAPNIK_DECL void save_to_file(image_32 const& image,
std::string const& file); std::string const& file);