Issue 251 wjwwood (#252)

* removed warning in windows

* removed warning in windows

* fixup
This commit is contained in:
William Woodall 2016-09-06 16:35:10 -07:00 committed by GitHub
parent 902d558e64
commit 6ea435f743

View file

@ -74,6 +74,8 @@ rcl_allocator_t get_rcl_allocator(Alloc & allocator)
rcl_allocator.deallocate = &retyped_deallocate<T, Alloc>;
rcl_allocator.reallocate = &retyped_reallocate<T, Alloc>;
rcl_allocator.state = &allocator;
#else
(void)allocator; // Remove warning
#endif
return rcl_allocator;
}