summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-08-13 14:28:25 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-08-13 14:28:53 (GMT)
commit813ce13210a084bb9d371c48a5bbb100dd133a94 (patch)
tree008175b7c54db21b1a5bb499ac1de5d345a8b87e
parent7b63a2e6b444c53153e4ba6aaeeacb49dc519949 (diff)
Mark ctors with single argument explicit
-rw-r--r--tools/osm-simplify/BaseFilter.h2
-rw-r--r--tools/osm-simplify/TinyPlanetProcessor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/osm-simplify/BaseFilter.h b/tools/osm-simplify/BaseFilter.h
index 7e92ae3..32060fe 100644
--- a/tools/osm-simplify/BaseFilter.h
+++ b/tools/osm-simplify/BaseFilter.h
@@ -23,7 +23,7 @@ using namespace Marble;
class BaseFilter
{
public:
- BaseFilter(GeoDataDocument* document);
+ explicit BaseFilter(GeoDataDocument* document);
virtual ~BaseFilter();
virtual void process() = 0;
diff --git a/tools/osm-simplify/TinyPlanetProcessor.h b/tools/osm-simplify/TinyPlanetProcessor.h
index 0b12eeb..25b70bb 100644
--- a/tools/osm-simplify/TinyPlanetProcessor.h
+++ b/tools/osm-simplify/TinyPlanetProcessor.h
@@ -16,7 +16,7 @@
class TinyPlanetProcessor : public PlacemarkFilter
{
public:
- TinyPlanetProcessor(GeoDataDocument* document);
+ explicit TinyPlanetProcessor(GeoDataDocument* document);
virtual void process();