rclcpp/rclcpp_lifecycle/include/rclcpp_lifecycle
Emerson Knapp 83beaf8a3f Don't hardcode int64_t for duration type representations (#648)
In LLVM's `libcxx`, `int64_t` doesn't match chrono literals. See example below. To compile, run  `clang++-6.0 -stdlib=libc++ -std=c++14 TEST.cpp`

```
using namespace std::chrono_literals;

template<typename RatioT = std::milli>
bool
wait_for_service(
   std::chrono::duration<int64_t, RatioT> timeout
)
{
   return timeout == std::chrono::nanoseconds(0);
}

int main() {
   wait_for_service(2s);
   return 0;
}

```

Result of compilation
```
TEST.cpp:6:1: note: candidate template ignored: could not match 'long' against 'long long'
wait_for_service(
```

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
2019-03-12 18:32:41 -04:00
..
node_interfaces service for transition graph (#555) 2018-10-11 14:03:57 -07:00
type_traits update style to match latest uncrustify 2017-09-28 15:38:40 -07:00
lifecycle_node.hpp Don't hardcode int64_t for duration type representations (#648) 2019-03-12 18:32:41 -04:00
lifecycle_node_impl.hpp Don't hardcode int64_t for duration type representations (#648) 2019-03-12 18:32:41 -04:00
lifecycle_publisher.hpp issue a warning if publishing on a not active publisher (#574) 2018-10-27 17:35:17 -07:00
state.hpp Fix 394 (#419) 2017-12-05 22:51:52 -08:00
transition.hpp Fix 394 (#419) 2017-12-05 22:51:52 -08:00
visibility_control.h add rclcpp lifecycle 2016-12-14 09:29:27 -08:00