fix linking failure with gcc/clang

This commit is contained in:
wmayer 2016-10-23 14:10:01 +02:00
parent 222e9b6b46
commit efff1b7773
2 changed files with 10 additions and 5 deletions

View File

@ -78,6 +78,11 @@
using namespace Sketcher;
using namespace Base;
const int GeoEnum::RtPnt = -1;
const int GeoEnum::HAxis = -1;
const int GeoEnum::VAxis = -2;
const int GeoEnum::RefExt = -3;
PROPERTY_SOURCE(Sketcher::SketchObject, Part::Part2DObject)

View File

@ -38,12 +38,12 @@
namespace Sketcher
{
struct GeoEnum
struct SketcherExport GeoEnum
{
static const int RtPnt = -1;
static const int HAxis = -1;
static const int VAxis = -2;
static const int RefExt = -3;
static const int RtPnt;
static const int HAxis;
static const int VAxis;
static const int RefExt;
};
class SketcherExport SketchObject : public Part::Part2DObject