Removed unrequired MAPNIK_DECL from src/image_util_jpeg added pragma to prevent warning on linux with clang.
This commit is contained in:
parent
da6af4fa11
commit
10ad41d218
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue