Commit a74b7bac by Christian Kern

do not use c style casts

parent e94b884a
...@@ -93,7 +93,7 @@ WaitFreeArrayValuePool<Type, Undefined, Allocator>::~WaitFreeArrayValuePool() { ...@@ -93,7 +93,7 @@ WaitFreeArrayValuePool<Type, Undefined, Allocator>::~WaitFreeArrayValuePool() {
} }
// free memory // free memory
allocator.deallocate(pool, (size_t)size); allocator.deallocate(pool, static_cast<size_t>(size));
} }
} // namespace containers } // namespace containers
} // namespace embb } // namespace embb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment