+ make image_reader non-copyable
This commit is contained in:
parent
270b66318d
commit
a25f1ccb56
1 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,8 @@
|
|||
// mapnik
|
||||
#include <mapnik/image_data.hpp>
|
||||
#include <mapnik/config.hpp>
|
||||
|
||||
// boost
|
||||
#include <boost/utility.hpp>
|
||||
// stl
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
@ -49,7 +50,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
struct MAPNIK_DECL image_reader
|
||||
struct MAPNIK_DECL image_reader : private boost::noncopyable
|
||||
{
|
||||
virtual unsigned width() const=0;
|
||||
virtual unsigned height() const=0;
|
||||
|
|
Loading…
Reference in a new issue