summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2025-01-08 12:59:12 +0100
committerAlbert Astals Cid <aacid@kde.org>2025-01-08 12:59:12 +0100
commit8c0980ed360d55cd5b86ba7de8735517e5a0532a (patch)
tree1f1bcab4c9453b7c52161b15110ab0a49efef88f
parent2a123366ade2be602485ddd66313a1919cc23bcc (diff)
Make it compile with clang 15
-rw-r--r--poppler/PSOutputDev.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 76a5c022..a93c66c8 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -917,6 +917,9 @@ struct PSFont8Info
{
Ref fontID;
std::vector<int> codeToGID; // code-to-GID mapping for TrueType fonts
+
+ // TODO Remove when we decide that not compiling with clang 15 (macos 14) is acceptable
+ PSFont8Info(Ref id, std::vector<int> &&ctg) : fontID(id), codeToGID(std::move(ctg)) { }
};
// Encoding info for substitute 16-bit font