ros / roscpp_core

ros distribution sandbox
88 stars 116 forks source link

rostime: use std::numeric_limits instead of *_MAX macros for range ch… #103

Closed cwecht closed 5 years ago

cwecht commented 5 years ago

…ecking

std::numeric_limits and UINT_MAX/INTMAX hav been used both, now std::numeri_limits is used consistently.

This fixes #74 because the actual target type is used for the range checks.

dirk-thomas commented 5 years ago

Thanks for the patch.