summaryrefslogtreecommitdiff
path: root/sax/src/utils.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-01-21 12:31:30 +0100
committerJoel Klinghed <the_jk@spawned.biz>2024-01-21 12:31:30 +0100
commit7dd49c6293172b494c78918507242cdb55d35137 (patch)
tree9c8ab822ab9501a5ea2f937e609144e00ea091c4 /sax/src/utils.hh
parentfc4547b412e28164af1bf8981234c6af959ccc0b (diff)
WIP
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