Removed unrequired MAPNIK_DECL from src/image_util_jpeg added pragma to prevent warning on linux with clang.

This commit is contained in:
Blake Thompson 2015-08-12 13:00:04 -05:00
parent da6af4fa11
commit 10ad41d218
2 changed files with 7 additions and 1 deletions

View file

@ -992,6 +992,10 @@ inline bool value::is_null() const
// support for std::unordered_xxx
namespace std
{
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmismatched-tags"
template <>
struct hash<mapnik::value>
{
@ -1001,6 +1005,8 @@ struct hash<mapnik::value>
}
};
#pragma clang diagnostic pop
}
#endif // MAPNIK_VALUE_HPP

View file

@ -43,7 +43,7 @@ jpeg_saver::jpeg_saver(std::ostream & stream, std::string const& t)
namespace detail {
MAPNIK_DECL int parse_jpeg_quality(std::string const& params)
int parse_jpeg_quality(std::string const& params)
{
int quality = 85;
if (params != "jpeg")