FEM: Fix linking errors

The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
This commit is contained in:
wmayer
2024-06-18 18:14:10 +02:00
parent 6c0f42bb15
commit 47a9ec8481
3 changed files with 11 additions and 13 deletions

View File

@@ -53,8 +53,10 @@ public:
}
short mustExecute() const override;
PyObject* getPyObject() override;
static std::string elementsName; // = "ElementsSet";
static std::string uniqueElementsName; // "ElementsSet" latest name
static std::string getElementName()
{
return "ElementsSet";
}
};
} // namespace Fem