Skip to content
Snippets Groups Projects
Commit 8db9d2fc authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/FileIO/SHPInterface] Add final + explicit.

parent a078ff72
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ namespace FileIO ...@@ -40,7 +40,7 @@ namespace FileIO
/** /**
* \brief Manages the import of ESRI shape files into GeoLib. * \brief Manages the import of ESRI shape files into GeoLib.
*/ */
class SHPInterface class SHPInterface final
{ {
public: public:
/// Connection between ESRI type system for shape files and OGS GeoLib. /// Connection between ESRI type system for shape files and OGS GeoLib.
...@@ -54,7 +54,10 @@ public: ...@@ -54,7 +54,10 @@ public:
}; };
/// Constructor /// Constructor
SHPInterface(GeoLib::GEOObjects& geoObjects) : _geoObjects(geoObjects) {} explicit SHPInterface(GeoLib::GEOObjects& geoObjects)
: _geoObjects(geoObjects)
{
}
/// Reads the header of the shape file. /// Reads the header of the shape file.
bool readSHPInfo(const std::string &filename, int &shapeType, int &numberOfEntities); bool readSHPInfo(const std::string &filename, int &shapeType, int &numberOfEntities);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment