rclcpp/rclcpp_action
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
..
include/rclcpp_action Don't hardcode int64_t for duration type representations (#648) 2019-03-12 18:32:41 -04:00
src update to use separated action types (#601) 2019-03-11 21:12:47 -07:00
test update to use separated action types (#601) 2019-03-11 21:12:47 -07:00
CHANGELOG.rst 0.6.2 2018-12-12 21:56:41 -08:00
CMakeLists.txt rclcpp_action Server implementation (#593) 2018-12-06 09:38:01 -08:00
Doxyfile Add Doxyfile for rclcpp_action 2019-03-12 11:56:18 -07:00
package.xml 0.6.2 2018-12-12 21:56:41 -08:00