Skip to content

Commit

Permalink
Fix windows build and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 15, 2018
1 parent 536cc9c commit f05e9c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/geometry/qgslinestring.cpp
Expand Up @@ -939,8 +939,8 @@ double QgsLineString::closestSegment( const QgsPoint &pt, QgsPoint &segmentPt,
double sqrDist = std::numeric_limits<double>::max();
double leftOfDist = std::numeric_limits<double>::max();
int prevLeftOf = 0;
double prevLeftOfX;
double prevLeftOfY;
double prevLeftOfX = 0.0;
double prevLeftOfY = 0.0;
double testDist = 0;
double segmentPtX, segmentPtY;

Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingcontext.h
Expand Up @@ -162,7 +162,7 @@ class CORE_EXPORT QgsProcessingContext
* \ingroup core
* \since QGIS 3.0
*/
class LayerDetails
class CORE_EXPORT LayerDetails
{
public:

Expand Down

0 comments on commit f05e9c3

Please sign in to comment.