Skip to content

Commit

Permalink
rename PUGIXML_CONSTEXPR macro to PUGIXML_CONSTEXPR11
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Oct 31, 2024
1 parent bcf8b86 commit c45d593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pugixml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@
// If C++ is 2011 or higher, add 'constexpr' qualifiers
#ifndef PUGIXML_CONSTEXPR
# if __cplusplus >= 201103
# define PUGIXML_CONSTEXPR constexpr
# define PUGIXML_CONSTEXPR11 constexpr
# elif defined(_MSC_VER) && _MSC_VER >= 1910
# define PUGIXML_CONSTEXPR constexpr
# define PUGIXML_CONSTEXPR11 constexpr
# else
# define PUGIXML_CONSTEXPR const
# define PUGIXML_CONSTEXPR11 const
# endif
#endif

Expand Down

0 comments on commit c45d593

Please sign in to comment.