mattreecebentley / plf_list

A drop-in replacement for std::list with 293% faster insertion, 57% faster erasure, 17% faster iteration and 77% faster sorting on average. 20-24% speed increase in use-case testing.
https://plflib.org/list.htm
zlib License
151 stars 21 forks source link

Compile warning #9

Closed dinghram closed 6 years ago

dinghram commented 6 years ago

On Visual Studio 2017, I get the warning: warning C4458: declaration of 'end_node' hides class member

on this line: inline PLF_LIST_FORCE_INLINE void destroy_all_node_pointers(group_pointer_type const group_to_process, const node_pointer_type end_node) PLF_LIST_NOEXCEPT

If you rename end_node parameter, this warning goes away.

mattreecebentley commented 6 years ago

Out of interest which warning level did you have turned on to see this warning?

Fixed at any rate.

dinghram commented 6 years ago

Level 4 (/W4)