Skip to content
Permalink
Browse files

Fix "return reference to temporary"

  • Loading branch information
m-kuhn committed Jun 15, 2015
1 parent 8c96454 commit 8fbee121060c0b86629d72ea68de321408060bd6
Showing with 3 additions and 3 deletions.
  1. +1 −1 python/core/qgsvectorlayer.sip
  2. +1 −1 src/core/qgsvectorlayer.cpp
  3. +1 −1 src/core/qgsvectorlayer.h
@@ -301,7 +301,7 @@ class QgsVectorLayer : QgsMapLayer
/** Removes a vector layer join */
void removeJoin( const QString& joinLayerId );

const QList< QgsVectorJoinInfo >& vectorJoins() const;
const QList< QgsVectorJoinInfo > vectorJoins() const;

/**
* Add a new field which is calculated by the expression specified
@@ -2872,7 +2872,7 @@ void QgsVectorLayer::removeJoin( const QString& joinLayerId )
mJoinBuffer->removeJoin( joinLayerId );
}

const QList< QgsVectorJoinInfo >& QgsVectorLayer::vectorJoins() const
const QList< QgsVectorJoinInfo > QgsVectorLayer::vectorJoins() const
{
if ( mJoinBuffer )
return mJoinBuffer->vectorJoins();
@@ -793,7 +793,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
/** Removes a vector layer join */
void removeJoin( const QString& joinLayerId );

const QList< QgsVectorJoinInfo >& vectorJoins() const;
const QList<QgsVectorJoinInfo> vectorJoins() const;

/**
* Add a new field which is calculated by the expression specified

0 comments on commit 8fbee12

Please sign in to comment.
You can’t perform that action at this time.