Skip to content

Commit

Permalink
Patch to fix clang-cl compiler compile time error(#5140)
Browse files Browse the repository at this point in the history
  • Loading branch information
KartikShrivastava authored and mvieth committed Mar 7, 2022
1 parent dd1c606 commit a26f6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/include/pcl/for_each_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace pcl
{
using arg = typename boost::mpl::deref<Iterator>::type;

#if (defined _WIN32 && defined _MSC_VER)
#if (defined _WIN32 && defined _MSC_VER && !defined(__clang__))
boost::mpl::aux::unwrap (f, 0).operator()<arg> ();
#else
boost::mpl::aux::unwrap (f, 0).template operator()<arg> ();
Expand Down

0 comments on commit a26f6d4

Please sign in to comment.