remove unused pragmas
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include "mbgl/util/image_reader.hpp"
|
||||
//#include <mapnik/color.hpp>
|
||||
|
||||
// jpeg
|
||||
extern "C"
|
||||
@@ -8,12 +7,9 @@ extern "C"
|
||||
}
|
||||
|
||||
// boost
|
||||
#pragma GCC diagnostic push
|
||||
//#pragma GCC diagnostic ignored "-Wunused-local-typedef"
|
||||
#include <boost/iostreams/device/file.hpp>
|
||||
#include <boost/iostreams/device/array.hpp>
|
||||
#include <boost/iostreams/stream.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
// std
|
||||
#include <cstdio>
|
||||
|
||||
@@ -4,13 +4,11 @@ extern "C"
|
||||
{
|
||||
#include <png.h>
|
||||
}
|
||||
|
||||
// boost
|
||||
#pragma GCC diagnostic push
|
||||
//#pragma GCC diagnostic ignored "-Wunused-local-typedef"
|
||||
#include <boost/iostreams/device/file.hpp>
|
||||
#include <boost/iostreams/device/array.hpp>
|
||||
#include <boost/iostreams/stream.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
// stl
|
||||
#include <cstring>
|
||||
|
||||
Reference in New Issue
Block a user