Build: Fix Linux for older compiler: Use TMap instead of TUndorderedMap.
authorJohn Kessenich <cepheus@frii.com>
Fri, 3 Feb 2017 18:21:24 +0000 (11:21 -0700)
committerJohn Kessenich <cepheus@frii.com>
Tue, 7 Feb 2017 06:00:51 +0000 (23:00 -0700)
glslang/Include/Types.h
glslang/Include/revision.h

index 68eb2d4..883ee3e 100644 (file)
@@ -1221,7 +1221,7 @@ public:
     // Make complete copy of the whole type graph rooted at 'copyOf'.
     void deepCopy(const TType& copyOf)
     {
-        TUnorderedMap<TTypeList*,TTypeList*> copied;  // to enable copying a type graph as a graph, not a tree
+        TMap<TTypeList*,TTypeList*> copied;  // to enable copying a type graph as a graph, not a tree
         deepCopy(copyOf, copied);
     }
 
@@ -1855,7 +1855,7 @@ protected:
     // Recursively copy a type graph, while preserving the graph-like
     // quality. That is, don't make more than one copy of a structure that
     // gets reused multiple times in the type graph.
-    void deepCopy(const TType& copyOf, TUnorderedMap<TTypeList*,TTypeList*>& copiedMap)
+    void deepCopy(const TType& copyOf, TMap<TTypeList*,TTypeList*>& copiedMap)
     {
         shallowCopy(copyOf);
 
index f2685bb..fd96c4d 100644 (file)
@@ -2,5 +2,5 @@
 // For the version, it uses the latest git tag followed by the number of commits.
 // For the date, it uses the current date (when then script is run).
 
-#define GLSLANG_REVISION "Overload400-PrecQual.1783"
-#define GLSLANG_DATE "01-Feb-2017"
+#define GLSLANG_REVISION "Overload400-PrecQual.1786"
+#define GLSLANG_DATE "03-Feb-2017"