From ec1476b7060306fd9109faf7a4c70a20ea3b538c Mon Sep 17 00:00:00 2001 From: David Neto Date: Tue, 14 Jun 2016 12:15:59 -0400 Subject: [PATCH] Tracking allocator must use const key Fixes TMap template. This is required to build with newer libc++ versions that have a static assert on const-ness of value_type --- glslang/Include/Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/Include/Common.h b/glslang/Include/Common.h index 05c8447..efb78d4 100644 --- a/glslang/Include/Common.h +++ b/glslang/Include/Common.h @@ -175,7 +175,7 @@ template class TList : public std::list > { }; template > -class TMap : public std::map > > { +class TMap : public std::map > > { }; template , class PRED = std::equal_to > -- 2.7.4