mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix "return reference to temporary"
This commit is contained in:
parent
8c96454f4b
commit
8fbee12106
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user