Skip to content

Commit

Permalink
fix linking failure with gcc/clang
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 23, 2016
1 parent 222e9b6 commit efff1b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Sketcher/App/SketchObject.cpp
Expand Up @@ -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)

Expand Down
10 changes: 5 additions & 5 deletions src/Mod/Sketcher/App/SketchObject.h
Expand Up @@ -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
Expand Down

0 comments on commit efff1b7

Please sign in to comment.