summaryrefslogtreecommitdiff
path: root/sax/src/utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sax/src/utils.hh')
-rw-r--r--sax/src/utils.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/src/utils.hh b/sax/src/utils.hh
index 206d003..074f0c0 100644
--- a/sax/src/utils.hh
+++ b/sax/src/utils.hh
@@ -4,7 +4,7 @@
#include "macros.hh"
#include <memory>
-#include <string>
+#include <string_view>
namespace modxml {
namespace sax {
@@ -13,7 +13,7 @@ class Decoder;
class DecoderFactory;
std::unique_ptr<Decoder> HIDDEN pick_decoder_for_encoding(
- std::string const& encoding,
+ std::string_view encoding,
DecoderFactory* factory);
} // namespace sax