Commit 6a69c19b authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

local static variable was meant to be const, of course

parent 7f47e23a
......@@ -117,7 +117,7 @@ QTreeWidgetItem *OsmTagEditorWidgetPrivate::tagWidgetItem( const OsmTag &tag ) c
QList<OsmTagEditorWidgetPrivate::OsmTag> OsmTagEditorWidgetPrivate::recommendedTags() const
{
static QVector<OsmTag> additionalOsmTags = createAdditionalOsmTags();
static const QVector<OsmTag> additionalOsmTags = createAdditionalOsmTags();
QList<OsmTag> recommendedTags;
......
Supports Markdown
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