[poppler] goo/GooList.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 5 18:56:19 UTC 2018


 goo/GooList.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 29bf8086b26516090565d5f91ee1a43f98a5c5f6
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri Oct 5 20:55:41 2018 +0200

    GooList: Be a class again
    
    All the forward declarations we have are saying class and both MSVC and
    clang are unhappy about it

diff --git a/goo/GooList.h b/goo/GooList.h
index faf34ade..7cd7fea1 100644
--- a/goo/GooList.h
+++ b/goo/GooList.h
@@ -30,7 +30,8 @@
 // GooList
 //------------------------------------------------------------------------
 
-struct GooList : public std::vector<void *> {
+class GooList : public std::vector<void *> {
+public:
 
   // Create an empty list.
   GooList() = default;


More information about the poppler mailing list