Skip to content
Snippets Groups Projects
Commit 25bb3560 authored by Brad King's avatar Brad King
Browse files

COMP: Fixed unreferenced parameter warning for VS6 with /W4.

parent 9969933c
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,11 @@ namespace @KWSYS_NAMESPACE@
// Utility functions to convert item counts.
inline size_t hash_sizeof(void*) { return sizeof(char); }
inline size_t hash_sizeof(const void*) { return sizeof(char); }
template <class TPtr> inline size_t hash_sizeof(TPtr p) { return sizeof(*p); }
template <class TPtr> inline size_t hash_sizeof(TPtr p)
{
static_cast<void>(p);
return sizeof(*p);
}
template <class POut, class PIn, class TSize>
inline TSize hash_allocator_n(POut out, PIn in, TSize n)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment