fix the GCC 4.6 stuff in a more backward compatible way and fix a lot of "variable set but not used" warnings on GCC 4.6

if the compiler doesn't know about constexpr
This commit is contained in:
Andreas Lauser 2011-04-28 14:14:56 +00:00 committed by Andreas Lauser
parent 2afe339845
commit 150531f932
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ public:
private:
// small epsilon value
static const Scalar eps_ = 3e-6;
static constexpr Scalar eps_ = 3e-6;
};
}

View File

@ -293,7 +293,7 @@ private:
GlobalPosition lowerLeft_;
GlobalPosition upperRight_;
static const Scalar eps_ = 1e-6;
static constexpr Scalar eps_ = 1e-6;
};
} //end namespace