File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 33
33
class CORE_EXPORT QgsVectorLayerJoinInfo
34
34
{
35
35
public:
36
- QgsVectorLayerJoinInfo ()
37
- : mMemoryCache ( false )
38
- , cacheDirty( true )
39
- {}
36
+ QgsVectorLayerJoinInfo () = default ;
40
37
41
38
// ! Sets weak reference to the joined layer
42
39
void setJoinLayer ( QgsVectorLayer *layer ) { mJoinLayerRef = QgsVectorLayerRef ( layer ); }
@@ -119,7 +116,7 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
119
116
QString mPrefix ;
120
117
121
118
// ! True if the join is cached in virtual memory
122
- bool mMemoryCache ;
119
+ bool mMemoryCache = false ;
123
120
124
121
// ! Subset of fields to use from joined layer. null = use all fields
125
122
std::shared_ptr<QStringList> mJoinFieldsSubset ;
@@ -130,9 +127,9 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
130
127
friend class QgsVectorLayerFeatureIterator ;
131
128
132
129
// ! True if the cached join attributes need to be updated
133
- bool cacheDirty;
130
+ bool cacheDirty = true ;
134
131
135
- bool mDynamicForm ;
132
+ bool mDynamicForm = false ;
136
133
137
134
// ! Cache for joined attributes to provide fast lookup (size is 0 if no memory caching)
138
135
QHash< QString, QgsAttributes> cachedAttributes;
You can’t perform that action at this time.
0 commit comments