Issue 251 wjwwood (#252)
* removed warning in windows * removed warning in windows * fixup
This commit is contained in:
parent
902d558e64
commit
6ea435f743
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ rcl_allocator_t get_rcl_allocator(Alloc & allocator)
|
||||||
rcl_allocator.deallocate = &retyped_deallocate<T, Alloc>;
|
rcl_allocator.deallocate = &retyped_deallocate<T, Alloc>;
|
||||||
rcl_allocator.reallocate = &retyped_reallocate<T, Alloc>;
|
rcl_allocator.reallocate = &retyped_reallocate<T, Alloc>;
|
||||||
rcl_allocator.state = &allocator;
|
rcl_allocator.state = &allocator;
|
||||||
|
#else
|
||||||
|
(void)allocator; // Remove warning
|
||||||
#endif
|
#endif
|
||||||
return rcl_allocator;
|
return rcl_allocator;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue