summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinuxUserGD <hugegameartgd@gmail.com>2024-04-03 15:21:15 +0200
committerLinuxUserGD <hugegameartgd@gmail.com>2024-04-03 16:24:29 +0200
commitb4ac7d9af7cb5edfcfcbda035ed8b8c218ba8564 (patch)
tree077ff54d4245e5b98ae34f34884d0bc3b5dcef38
parentff055f872aa31a548e1d73f4ea0d9394ba39d62c (diff)
Change type to `std::basic_string<char16_t>`
Deprecated `char_traits` template has been removed in LLVM 19
-rw-r--r--cpp/poppler-global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/poppler-global.h b/cpp/poppler-global.h
index 782e0758..e11849be 100644
--- a/cpp/poppler-global.h
+++ b/cpp/poppler-global.h
@@ -98,7 +98,7 @@ typedef unsigned int /* time_t */ time_type;
# pragma warning(push)
# pragma warning(disable : 4251) /* class 'A' needs to have dll interface for to be used by clients of class 'B'. */
#endif
-class POPPLER_CPP_EXPORT ustring : public std::basic_string<unsigned short>
+class POPPLER_CPP_EXPORT ustring : public std::basic_string<char16_t>
{
public:
ustring();