summaryrefslogtreecommitdiff
path: root/src/codecs/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-26 13:36:07 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-26 13:36:07 +1000
commit4d99d22e10a3cb2a421da1618c127128816613c9 (patch)
tree527490a466348e5cf40cf10a8f3768aa5be4e7c1 /src/codecs/include
parentf6d06421090f88094aba76b72b04d614f54efafa (diff)
downloadtangara-fw-4d99d22e10a3cb2a421da1618c127128816613c9.tar.gz
std::string -> std::pmr::string in psram
Diffstat (limited to 'src/codecs/include')
-rw-r--r--src/codecs/include/codec.hpp4
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";