fixes for VisualStudio
This commit is contained in:
parent
a44f1f32ff
commit
bd197783c6
|
@ -58,6 +58,11 @@
|
||||||
|
|
||||||
using namespace Fem;
|
using namespace Fem;
|
||||||
|
|
||||||
|
// maybe in the c++ standard later, older compiler don't have round()
|
||||||
|
double round(double r) {
|
||||||
|
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
PROPERTY_SOURCE(Fem::Constraint, App::DocumentObject);
|
PROPERTY_SOURCE(Fem::Constraint, App::DocumentObject);
|
||||||
|
|
||||||
Constraint::Constraint()
|
Constraint::Constraint()
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
TaskFemConstraint(ViewProviderFemConstraint *ConstraintView,QWidget *parent = 0,const char* pixmapname = "");
|
TaskFemConstraint(ViewProviderFemConstraint *ConstraintView,QWidget *parent = 0,const char* pixmapname = "");
|
||||||
virtual ~TaskFemConstraint() {}
|
virtual ~TaskFemConstraint() {}
|
||||||
|
|
||||||
virtual const std::string getReferences(void) const {}
|
virtual const std::string getReferences(void) const {return std::string();}
|
||||||
const std::string getReferences(const std::vector<std::string>& items) const;
|
const std::string getReferences(const std::vector<std::string>& items) const;
|
||||||
|
|
||||||
protected Q_SLOTS:
|
protected Q_SLOTS:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user