From fbb58a4e0b4e88c0849421a487edb85c660df13c Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Fri, 3 Feb 2017 11:21:24 -0700 Subject: [PATCH] Build: Fix Linux for older compiler: Use TMap instead of TUndorderedMap. --- glslang/Include/Types.h | 4 ++-- glslang/Include/revision.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/glslang/Include/Types.h b/glslang/Include/Types.h index 68eb2d45..883ee3e3 100644 --- a/glslang/Include/Types.h +++ b/glslang/Include/Types.h @@ -1221,7 +1221,7 @@ public: // Make complete copy of the whole type graph rooted at 'copyOf'. void deepCopy(const TType& copyOf) { - TUnorderedMap copied; // to enable copying a type graph as a graph, not a tree + TMap 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& copiedMap) + void deepCopy(const TType& copyOf, TMap& copiedMap) { shallowCopy(copyOf); diff --git a/glslang/Include/revision.h b/glslang/Include/revision.h index f2685bb9..fd96c4d7 100644 --- a/glslang/Include/revision.h +++ b/glslang/Include/revision.h @@ -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"