Skip to content

Commit

Permalink
Update __func__ and __PRETTY_FUNCTION__ defines for MSVC (#6222)
Browse files Browse the repository at this point in the history
* Delete `#define __func__` from pcl_macros.h

* Apply suggestions from code review

Co-authored-by: Lars Glud <[email protected]>

---------

Co-authored-by: Lars Glud <[email protected]>
  • Loading branch information
watk and larshg authored Jan 22, 2025
1 parent e787624 commit 6b93e78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/include/pcl/pcl_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@
#define NOMINMAX
#endif

#define __PRETTY_FUNCTION__ __FUNCTION__
#define __func__ __FUNCTION__
#define __PRETTY_FUNCTION__ __FUNCSIG__
#endif
#endif // defined _WIN32

Expand Down

0 comments on commit 6b93e78

Please sign in to comment.