File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ const std::vector<std::string>& GeoFeature::searchElementCache(const std::string
268
268
return none;
269
269
}
270
270
271
- const std::vector<const char *>& GeoFeature::getElementTypes (bool /* all*/ ) const
271
+ std::vector<const char *> GeoFeature::getElementTypes (bool /* all*/ ) const
272
272
{
273
273
static std::vector<const char *> nil;
274
274
auto prop = getPropertyOfGeometry ();
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ class AppExport GeoFeature : public App::DocumentObject
177
177
virtual DocumentObject *getElementOwner (const Data::MappedName & /* name*/ ) const
178
178
{return nullptr ;}
179
179
180
- virtual const std::vector<const char *>& getElementTypes (bool all=true ) const ;
180
+ virtual std::vector<const char *> getElementTypes (bool all=true ) const ;
181
181
182
182
// / Return the higher level element names of the given element
183
183
virtual std::vector<Data::IndexedName> getHigherElements (const char *name, bool silent=false ) const ;
You can’t perform that action at this time.
0 commit comments