Add "explicit" tag

parent 1a9c827e
......@@ -34,7 +34,7 @@ public:
bool operator==(const RenderContext &other) const;
bool operator!=(const RenderContext &other) const;
RenderContext(int tileLevel=-1);
explicit RenderContext(int tileLevel = -1);
int tileLevel() const;
private:
......
......@@ -16,7 +16,7 @@
class LineStringProcessor : public PlacemarkFilter
{
public:
LineStringProcessor(GeoDataDocument* document);
explicit LineStringProcessor(GeoDataDocument* document);
virtual void process();
......
......@@ -16,7 +16,7 @@
class PlacemarkFilter : public BaseFilter
{
public:
PlacemarkFilter(GeoDataDocument* document);
explicit PlacemarkFilter(GeoDataDocument* document);
};
#endif // PLACEMARKHANDLER_H
......@@ -16,7 +16,7 @@
class ShpCoastlineProcessor : public PlacemarkFilter
{
public:
ShpCoastlineProcessor(GeoDataDocument* document);
explicit ShpCoastlineProcessor(GeoDataDocument* document);
virtual void process();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment