fixes MSVC compiler error C2487. Fix for issue #996.
Merge pull request #1013 from Tonsty/master

fix the compile error by add template parameters
Merge pull request #1014 from magro11/pcl_registration_msvc_fix

fixes MSVC compiler error C2487. Fix for issue #996.
correct the mistakes in pcl::visualization::renderView