summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2025-01-02 01:01:04 +0100
committerAlbert Astals Cid <aacid@kde.org>2025-01-02 01:01:04 +0100
commit25162097d7f182388da27d6ec2b27da61e1ff17b (patch)
tree8356f425a14b97154a79fadb2a2bec874b8257b9
parent221914fb062253b879c9fbf5a58e89330e679313 (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 5de8487f..29f8c2d5 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -907,6 +907,9 @@ struct PST1FontName
Ref fontFileID;
std::unique_ptr<GooString> psName; // PostScript font name used for this
// embedded font file
+
+ // TODO Remove when we decide that not compiling with clang 15 (macos 14) is acceptable
+ PST1FontName(Ref id, std::unique_ptr<GooString> &&name) : fontFileID(id), psName(std::move(name)) { }
};
// Info for 8-bit fonts