fix imagedata visability on windows
This commit is contained in:
parent
3638505854
commit
8d7bf7a8da
2 changed files with 1 additions and 4 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
// mapnik
|
||||
#include <mapnik/global.hpp>
|
||||
#include <mapnik/config.hpp>
|
||||
|
||||
// stl
|
||||
#include <cassert>
|
||||
|
@ -35,7 +34,7 @@
|
|||
namespace mapnik
|
||||
{
|
||||
template <typename T>
|
||||
class MAPNIK_DECL ImageData
|
||||
class ImageData
|
||||
{
|
||||
public:
|
||||
using pixel_type = T;
|
||||
|
|
|
@ -21,7 +21,6 @@ int main(int argc, char** argv)
|
|||
boost::optional<std::string> type;
|
||||
try
|
||||
{
|
||||
#if !defined(_MSC_VER)
|
||||
mapnik::image_data_32 im(256,256);
|
||||
mapnik::image_data_32::pixel_type * data = im.getData();
|
||||
mapnik::image_data_32 * im_ptr = new mapnik::image_data_32(im.width(),im.height(),data);
|
||||
|
@ -29,7 +28,6 @@ int main(int argc, char** argv)
|
|||
BOOST_TEST(data == same_data);
|
||||
delete im_ptr;
|
||||
BOOST_TEST(data == same_data);
|
||||
#endif
|
||||
BOOST_TEST(set_working_dir(args));
|
||||
|
||||
#if defined(HAVE_JPEG)
|
||||
|
|
Loading…
Reference in a new issue