WCDH: Fix cxx_nullptr workaround for pre-C++11 compilers

Use just '0' instead of 'static_cast<void*>(0)' because the latter
will not automatically convert to pointers to other types.
This commit is contained in:
Roman Wüger 2015-03-13 09:18:19 +01:00 committed by Brad King
parent a5cab2e739
commit f9d0962689
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ function(write_compiler_detection_header
# if ${def_name}
# define ${def_value} nullptr
# else
# define ${def_value} static_cast<void*>(0)
# define ${def_value} 0
# endif
\n")
endif()