r20127 by craig - #13079: Remove gnu slist stuff that has also gone from source on github
scribus-commit
scribus-commit at lists.scribus.net
Sun May 24 16:16:29 UTC 2015
Author: craig
Date: Sun May 24 16:16:29 2015
New Revision: 20127
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20127
Log:
#13079: Remove gnu slist stuff that has also gone from source on github
Modified:
trunk/Scribus/scribus/third_party/prc/writePRC.h
Modified: trunk/Scribus/scribus/third_party/prc/writePRC.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20127&path=/trunk/Scribus/scribus/third_party/prc/writePRC.h
==============================================================================
--- trunk/Scribus/scribus/third_party/prc/writePRC.h (original)
+++ trunk/Scribus/scribus/third_party/prc/writePRC.h Sun May 24 16:16:29 2015
@@ -24,9 +24,7 @@
#include <vector>
#include <deque>
#include <list>
-#ifdef __GNUC__
-#include <ext/slist>
-#endif
+
#include <map>
#include <iostream>
#include "PRCbitStream.h"
@@ -223,11 +221,8 @@
void addKey(const PRCSingleAttribute &key) { attribute_keys.push_back(key); }
std::deque<PRCSingleAttribute> attribute_keys;
};
-#ifdef __GNUC__
-typedef __gnu_cxx::slist<PRCAttribute> PRCAttributeList;
-#else
+
typedef std::list<PRCAttribute> PRCAttributeList;
-#endif
class PRCAttributes
{
More information about the scribus-commit
mailing list