use explicit prefix std:: for vectors
- also add potentially missing include - this commit is an attempt to fix #7585
This commit is contained in:
@@ -1171,7 +1171,7 @@ class GRIDFreeFieldElement : public GRIDElement {
|
||||
void read(const std::string& str, const std::string&) override {
|
||||
char_separator<char> sep(",");
|
||||
tokenizer<char_separator<char> > tokens(str, sep);
|
||||
std::vector<string> token_results;
|
||||
std::vector<std::string> token_results;
|
||||
token_results.assign(tokens.begin(),tokens.end());
|
||||
if (token_results.size() < 6)
|
||||
return;//Line does not include Nodal coordinates
|
||||
@@ -1225,7 +1225,7 @@ public:
|
||||
void read(const std::string& str, const std::string&) override {
|
||||
char_separator<char> sep(",");
|
||||
tokenizer<char_separator<char> > tokens(str, sep);
|
||||
std::vector<string> token_results;
|
||||
std::vector<std::string> token_results;
|
||||
token_results.assign(tokens.begin(),tokens.end());
|
||||
if (token_results.size() < 6)
|
||||
return;//Line does not include enough nodal IDs
|
||||
@@ -1295,7 +1295,7 @@ public:
|
||||
void read(const std::string& str, const std::string&) override {
|
||||
char_separator<char> sep(",");
|
||||
tokenizer<char_separator<char> > tokens(str, sep);
|
||||
std::vector<string> token_results;
|
||||
std::vector<std::string> token_results;
|
||||
token_results.assign(tokens.begin(),tokens.end());
|
||||
if (token_results.size() < 14)
|
||||
return;//Line does not include enough nodal IDs
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
# include <BRepBuilderAPI_Copy.hxx>
|
||||
# include <BRepTools.hxx>
|
||||
# include <SMESH_Gen.hxx>
|
||||
# include <SMESH_Mesh.hxx>
|
||||
# include <StdMeshers_MaxLength.hxx>
|
||||
# include <StdMeshers_LocalLength.hxx>
|
||||
# include <StdMeshers_MaxElementArea.hxx>
|
||||
@@ -60,7 +61,9 @@ PROPERTY_SOURCE(Fem::FemMeshShapeObject, Fem::FemMeshObject)
|
||||
|
||||
FemMeshShapeObject::FemMeshShapeObject()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(Shape,(nullptr), "FEM Mesh",Prop_None,"Geometry object, the mesh is made from. The geometry object has to have a Shape.");
|
||||
ADD_PROPERTY_TYPE(
|
||||
Shape, (nullptr), "FEM Mesh", Prop_None,
|
||||
"Geometry object, the mesh is made from. The geometry object has to have a Shape.");
|
||||
}
|
||||
|
||||
FemMeshShapeObject::~FemMeshShapeObject()
|
||||
|
||||
@@ -981,7 +981,7 @@ unsigned validateSketches(std::vector<App::DocumentObject*>& sketches,
|
||||
void prepareProfileBased(PartDesign::Body *pcActiveBody, Gui::Command* cmd, const std::string& which,
|
||||
std::function<void (Part::Feature*, App::DocumentObject*)> func)
|
||||
{
|
||||
auto base_worker = [=](App::DocumentObject* feature, const std::vector<string> &subs) {
|
||||
auto base_worker = [=](App::DocumentObject *feature, const std::vector<std::string> &subs) {
|
||||
|
||||
if (!feature || !feature->isDerivedFrom(Part::Feature::getClassTypeId()))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user