Add operator!= to datasource (needed for copy_move_test.cpp)
This commit is contained in:
parent
2ae3dfa8b3
commit
8489bb12f8
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue