parent
8a33448ee0
commit
74803cd694
@ -1 +1,2 @@
|
||||
/qtwebkit-opensource-src-5.0.2.tar.xz
|
||||
/qtwebkit-opensource-src-5.1.1.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
85aad9f287910c21c8464d7d1ea010a9 qtwebkit-opensource-src-5.0.2.tar.xz
|
||||
70e956dafcee1969de53d4de7b4691ad qtwebkit-opensource-src-5.1.1.tar.xz
|
||||
|
@ -1,105 +0,0 @@
|
||||
Index: trunk/Source/WTF/wtf/HashMap.h
|
||||
===================================================================
|
||||
--- trunk/Source/WTF/wtf/HashMap.h (revision 147344)
|
||||
+++ trunk/Source/WTF/wtf/HashMap.h (revision 147345)
|
||||
@@ -137,27 +137,33 @@
|
||||
AddResult inlineAdd(const KeyType&, MappedPassInReferenceType);
|
||||
|
||||
- class HashMapKeysProxy : private HashMap {
|
||||
+ HashTableType m_impl;
|
||||
+ };
|
||||
+
|
||||
+ template<typename KeyArg, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
|
||||
+ class HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>::HashMapKeysProxy :
|
||||
+ private HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> {
|
||||
public:
|
||||
- typedef typename HashMap::iterator::Keys iterator;
|
||||
- typedef typename HashMap::const_iterator::Keys const_iterator;
|
||||
-
|
||||
+ typedef HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> HashMapType;
|
||||
+ typedef typename HashMapType::iterator::Keys iterator;
|
||||
+ typedef typename HashMapType::const_iterator::Keys const_iterator;
|
||||
+
|
||||
iterator begin()
|
||||
{
|
||||
- return HashMap::begin().keys();
|
||||
- }
|
||||
-
|
||||
+ return HashMapType::begin().keys();
|
||||
+ }
|
||||
+
|
||||
iterator end()
|
||||
{
|
||||
- return HashMap::end().keys();
|
||||
+ return HashMapType::end().keys();
|
||||
}
|
||||
|
||||
const_iterator begin() const
|
||||
{
|
||||
- return HashMap::begin().keys();
|
||||
- }
|
||||
-
|
||||
+ return HashMapType::begin().keys();
|
||||
+ }
|
||||
+
|
||||
const_iterator end() const
|
||||
{
|
||||
- return HashMap::end().keys();
|
||||
+ return HashMapType::end().keys();
|
||||
}
|
||||
|
||||
@@ -170,29 +176,32 @@
|
||||
HashMapKeysProxy& operator=(const HashMapKeysProxy&);
|
||||
~HashMapKeysProxy();
|
||||
- };
|
||||
-
|
||||
- class HashMapValuesProxy : private HashMap {
|
||||
+ };
|
||||
+
|
||||
+ template<typename KeyArg, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
|
||||
+ class HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>::HashMapValuesProxy :
|
||||
+ private HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> {
|
||||
public:
|
||||
- typedef typename HashMap::iterator::Values iterator;
|
||||
- typedef typename HashMap::const_iterator::Values const_iterator;
|
||||
-
|
||||
+ typedef HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> HashMapType;
|
||||
+ typedef typename HashMapType::iterator::Values iterator;
|
||||
+ typedef typename HashMapType::const_iterator::Values const_iterator;
|
||||
+
|
||||
iterator begin()
|
||||
{
|
||||
- return HashMap::begin().values();
|
||||
- }
|
||||
-
|
||||
+ return HashMapType::begin().values();
|
||||
+ }
|
||||
+
|
||||
iterator end()
|
||||
{
|
||||
- return HashMap::end().values();
|
||||
+ return HashMapType::end().values();
|
||||
}
|
||||
|
||||
const_iterator begin() const
|
||||
{
|
||||
- return HashMap::begin().values();
|
||||
- }
|
||||
-
|
||||
+ return HashMapType::begin().values();
|
||||
+ }
|
||||
+
|
||||
const_iterator end() const
|
||||
{
|
||||
- return HashMap::end().values();
|
||||
+ return HashMapType::end().values();
|
||||
}
|
||||
|
||||
@@ -205,7 +214,4 @@
|
||||
HashMapValuesProxy& operator=(const HashMapValuesProxy&);
|
||||
~HashMapValuesProxy();
|
||||
- };
|
||||
-
|
||||
- HashTableType m_impl;
|
||||
};
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- qtwebkit-opensource-src-5.0.2/Source/WTF/wtf/Compiler.h.static_assert 2013-05-18 00:27:58.755311019 +0200
|
||||
+++ qtwebkit-opensource-src-5.0.2/Source/WTF/wtf/Compiler.h 2013-05-18 00:36:49.386262802 +0200
|
||||
@@ -122,6 +122,9 @@
|
||||
|
||||
/* Specific compiler features */
|
||||
#if COMPILER(GCC) && !COMPILER(CLANG)
|
||||
+#if GCC_VERSION_AT_LEAST(4, 8, 0)
|
||||
+#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
|
||||
+#endif
|
||||
#if GCC_VERSION_AT_LEAST(4, 7, 0) && defined(__cplusplus) && __cplusplus >= 201103L
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1
|
Loading…
Reference in new issue