Add operator!= to datasource (needed for copy_move_test.cpp)

This commit is contained in:
Dane Springmeyer 2015-04-25 10:34:25 +02:00
parent 2ae3dfa8b3
commit 8489bb12f8
2 changed files with 7 additions and 0 deletions

View file

@ -94,6 +94,11 @@ public:
return params_ == rhs.params();
}
bool operator!=(datasource const& rhs) const
{
return !(*this == rhs);
}
/*!
* @brief Get the type of the datasource
* @return The type of the datasource (Vector or Raster)

View file

@ -23,6 +23,8 @@
#ifndef MAPNIK_DATASOURCE_GEOMETRY_TYPE_HPP
#define MAPNIK_DATASOURCE_GEOMETRY_TYPE_HPP
#include <cstdint>
namespace mapnik {
enum datasource_geometry_t : std::uint8_t {