From 931e3277b988f83e15d9ffbd7c5b0297be81c2d0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 28 Jun 2016 08:32:35 +0100 Subject: [PATCH] Fixed initializer --- src/osgPlugins/shp/ESRIShape.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/shp/ESRIShape.cpp b/src/osgPlugins/shp/ESRIShape.cpp index cc01e3d0f..e9d5f3c16 100644 --- a/src/osgPlugins/shp/ESRIShape.cpp +++ b/src/osgPlugins/shp/ESRIShape.cpp @@ -20,6 +20,8 @@ #include "ESRIShape.h" +#include + using namespace ESRIShape ; #define SAFE_DELETE_ARRAY( ptr ) delete[] ptr; ptr = 0L; @@ -177,7 +179,7 @@ bool Box::read( int fd ) return true; } -Range::Range() {} +Range::Range():min(DBL_MAX), max(-DBL_MAX) {} Range::Range( const Range &r ): min(r.min), max(r.max) {} bool Range::read( int fd )