diff --git a/src/pugixml.hpp b/src/pugixml.hpp index f7c8ed9a..d726716e 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -140,7 +140,7 @@ # endif #endif -// If C++ is 2011 or higher, add 'constexpr' qualifiers +// If C++ is 2011 or higher, add 'constexpr' qualifiers to constants #ifndef PUGIXML_CONSTEXPR11 # if __cplusplus >= 201103 # define PUGIXML_CONSTEXPR11 constexpr @@ -150,8 +150,7 @@ # define PUGIXML_CONSTEXPR11 # endif #endif - -// If C++ is 2017 or higher, add 'inline' qualifiers for constants +// If C++ is 2017 or higher, add 'inline' qualifiers to constants // required for C++20 module #ifndef PUGIXML_CONSTANT # if __cplusplus >= 201703