use std numeric limits instead of climits
This commit is contained in:
parent
985a8e9f97
commit
0c7f996de6
@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "../DataStructures/ImportNode.h"
|
#include "../DataStructures/ImportNode.h"
|
||||||
#include "../typedefs.h"
|
#include "../typedefs.h"
|
||||||
|
|
||||||
|
#include <limits>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
struct ExtractorRelation
|
struct ExtractorRelation
|
||||||
@ -52,8 +53,8 @@ struct WayIDStartAndEndEdge
|
|||||||
NodeID lastStart;
|
NodeID lastStart;
|
||||||
NodeID lastTarget;
|
NodeID lastTarget;
|
||||||
WayIDStartAndEndEdge()
|
WayIDStartAndEndEdge()
|
||||||
: wayID(UINT_MAX), firstStart(UINT_MAX), firstTarget(UINT_MAX), lastStart(UINT_MAX),
|
: wayID(std::numeric_limits<unsigned>::max()), firstStart(std::numeric_limits<unsigned>::max()), firstTarget(std::numeric_limits<unsigned>::max()), lastStart(std::numeric_limits<unsigned>::max()),
|
||||||
lastTarget(UINT_MAX)
|
lastTarget(std::numeric_limits<unsigned>::max())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user