summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-02 19:47:20 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-03 01:49:47 (GMT)
commit77a4ce271b6780361a4fb43971f8f27f880ef6dd (patch)
treea6a09bee02bfaaea8316cc76a86fccbf02322b1f
parenta4cd48aa6eb32d4bddd9342aaf1af24b90325877 (diff)
Examples: Remove default values from overriden methods, unneeded here
-rw-r--r--examples/cpp/custom-layers/main.cpp2
-rw-r--r--examples/cpp/squad-interpolation/squad-interpolation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cpp/custom-layers/main.cpp b/examples/cpp/custom-layers/main.cpp
index 8e9b66c..6250587 100644
--- a/examples/cpp/custom-layers/main.cpp
+++ b/examples/cpp/custom-layers/main.cpp
@@ -33,7 +33,7 @@ public:
// Implemented from LayerInterface
virtual bool render( GeoPainter *painter, ViewportParams *viewport,
- const QString& renderPos = "NONE", GeoSceneLayer * layer = 0 );
+ const QString &renderPos, GeoSceneLayer *layer);
// Overriding QObject
virtual bool eventFilter(QObject *obj, QEvent *event);
diff --git a/examples/cpp/squad-interpolation/squad-interpolation.h b/examples/cpp/squad-interpolation/squad-interpolation.h
index 0f7db08..1df9fb0 100644
--- a/examples/cpp/squad-interpolation/squad-interpolation.h
+++ b/examples/cpp/squad-interpolation/squad-interpolation.h
@@ -33,7 +33,7 @@ public:
// LayerInterface
QStringList renderPosition() const;
bool render( GeoPainter *painter, ViewportParams *viewport,
- const QString& renderPos = "NONE", GeoSceneLayer * layer = 0 );
+ const QString &renderPos, GeoSceneLayer *layer);
GeoDataLatLonBox center() const;
private Q_SLOTS: