functions fully defined in hpp do not need MAPNIK_DECL - refs #2708

This commit is contained in:
Dane Springmeyer 2015-02-16 19:05:41 -08:00
parent 842e4bebe6
commit 817489e97a

View file

@ -202,7 +202,7 @@ MAPNIK_DECL void set_rectangle (T & dst, T const& src, int x = 0, int y = 0);
// CHECK BOUNDS
template <typename T>
MAPNIK_DECL bool check_bounds (T const& data, std::size_t x, std::size_t y)
inline bool check_bounds (T const& data, std::size_t x, std::size_t y)
{
return (x < static_cast<int>(data.width()) && y < static_cast<int>(data.height()));
}