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 3333class CORE_EXPORT QgsVectorLayerJoinInfo
3434{
3535 public:
36- QgsVectorLayerJoinInfo ()
37- : mMemoryCache ( false )
38- , cacheDirty( true )
39- {}
36+ QgsVectorLayerJoinInfo () = default ;
4037
4138 // ! Sets weak reference to the joined layer
4239 void setJoinLayer ( QgsVectorLayer *layer ) { mJoinLayerRef = QgsVectorLayerRef ( layer ); }
@@ -119,7 +116,7 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
119116 QString mPrefix ;
120117
121118 // ! True if the join is cached in virtual memory
122- bool mMemoryCache ;
119+ bool mMemoryCache = false ;
123120
124121 // ! Subset of fields to use from joined layer. null = use all fields
125122 std::shared_ptr<QStringList> mJoinFieldsSubset ;
@@ -130,9 +127,9 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
130127 friend class QgsVectorLayerFeatureIterator ;
131128
132129 // ! True if the cached join attributes need to be updated
133- bool cacheDirty;
130+ bool cacheDirty = true ;
134131
135- bool mDynamicForm ;
132+ bool mDynamicForm = false ;
136133
137134 // ! Cache for joined attributes to provide fast lookup (size is 0 if no memory caching)
138135 QHash< QString, QgsAttributes> cachedAttributes;
You can’t perform that action at this time.
0 commit comments