summaryrefslogtreecommitdiff
path: root/external/poppler/0001-Fix-building-with-old-clang.patch.1
blob: dcddd11d296765fa67e4bc67a05d93ea7a07ab4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From dd80c182cbcb188af0dd590f222ba9bbb31e3fb7 Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Mon, 4 Sep 2017 19:36:06 +0200
Subject: [PATCH] Fix building with old clang

---
 poppler/StructElement.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/poppler/StructElement.cc b/poppler/StructElement.cc
index 0fbd336a..451213f8 100644
--- a/poppler/StructElement.cc
+++ b/poppler/StructElement.cc
@@ -248,6 +248,8 @@ struct AttributeMapEntry {
 };
 
 struct AttributeDefaults {
+  AttributeDefaults() {}; // needed to support old clang
+
   Object Inline  = Object(objName, "Inline");
   Object LrTb = Object(objName, "LrTb");
   Object Normal = Object(objName, "Normal");
-- 
2.13.5