Skip to content

Commit

Permalink
fix inclusion of string_view when module is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Oct 31, 2024
1 parent 33df3e2 commit 2535c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pugixml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#endif

// Include string_view if appropriate
#ifndef PUGIXML_MODULE_EXPORT
#ifndef PUGIXML_EXPORT_MODULE
# ifdef PUGIXML_HAS_STRING_VIEW
# include <string_view>
# endif
Expand Down

0 comments on commit 2535c89

Please sign in to comment.