diff options
Diffstat (limited to 'src/codecs/include/codec.hpp')
| -rw-r--r-- | src/codecs/include/codec.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp index 2f95389c..67358d54 100644 --- a/src/codecs/include/codec.hpp +++ b/src/codecs/include/codec.hpp @@ -21,6 +21,8 @@ #include "span.hpp" #include "types.hpp" +#include "memory_resource.hpp" + namespace codecs { /* @@ -69,7 +71,7 @@ class ICodec { kInternalError, }; - static auto ErrorString(Error err) -> std::string { + static auto ErrorString(Error err) -> std::pmr::string { switch (err) { case Error::kOutOfInput: return "out of input"; |
