We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00eb261 commit f9be179Copy full SHA for f9be179
python/analysis/network/qgsstrategy.sip
@@ -46,5 +46,5 @@ class QgsStrategy
46
/**
47
* Return edge cost
48
*/
49
- virtual QVariant cost( double distance, const QgsFeature &f ) const;
+ virtual QVariant cost( double distance, const QgsFeature &f ) const = 0;
50
};
src/analysis/network/qgsstrategy.h
@@ -51,12 +51,7 @@ class ANALYSIS_EXPORT QgsStrategy
51
52
53
54
- virtual QVariant cost( double distance, const QgsFeature &f ) const
55
- {
56
- Q_UNUSED( distance );
57
- Q_UNUSED( f );
58
- return QVariant();
59
- }
60
61
62
#endif // QGSSTRATERGY_H
0 commit comments