Fix Windows build errors

This commit is contained in:
Stefan Tröger 2016-03-17 22:39:16 +01:00
parent e9b9d285ac
commit 036d0691dd
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ namespace Gui
/** /**
* View provider associated with an App::OriginFeature. * View provider associated with an App::OriginFeature.
*/ */
class ViewProviderOriginFeature: public ViewProviderGeometryObject { class GuiExport ViewProviderOriginFeature: public ViewProviderGeometryObject {
PROPERTY_HEADER(Gui::ViewProviderOriginFeature); PROPERTY_HEADER(Gui::ViewProviderOriginFeature);
public: public:

View File

@ -112,7 +112,7 @@ void ViewProviderBody::setDisplayMode(const char* ModeName) {
PartGui::ViewProviderPartExt::setDisplayMode(ModeName); PartGui::ViewProviderPartExt::setDisplayMode(ModeName);
} }
void ViewProviderBody::setOverrideMode(const std::__cxx11::string& mode) { void ViewProviderBody::setOverrideMode(const std::string& mode) {
//if we are in through mode, we need to ensure that the override mode is not set for the body //if we are in through mode, we need to ensure that the override mode is not set for the body
//(as this would result in "tip" mode), it is enough when the children are set to the correct //(as this would result in "tip" mode), it is enough when the children are set to the correct

View File

@ -59,7 +59,7 @@ public:
virtual SoGroup* getChildRoot(void) const {return pcBodyChildren;} virtual SoGroup* getChildRoot(void) const {return pcBodyChildren;}
virtual std::vector<App::DocumentObject*> claimChildren3D(void)const; virtual std::vector<App::DocumentObject*> claimChildren3D(void)const;
virtual void setDisplayMode(const char* ModeName); virtual void setDisplayMode(const char* ModeName);
virtual void setOverrideMode(const std::__cxx11::string& mode); virtual void setOverrideMode(const std::string& mode);
virtual bool onDelete(const std::vector<std::string> &); virtual bool onDelete(const std::vector<std::string> &);