summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/Include/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/Include/Common.h')
-rwxr-xr-xsrc/mesa/shader/slang/Include/Common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/Include/Common.h b/src/mesa/shader/slang/Include/Common.h
index bd1aaa8fcf4..4a9c0d34a74 100755
--- a/src/mesa/shader/slang/Include/Common.h
+++ b/src/mesa/shader/slang/Include/Common.h
@@ -230,7 +230,10 @@ public:
typedef pool_allocator<std::pair <K, D> > tAllocator;
TMap() : TBaseMap<K, D, CMP, tAllocator >() {}
+/*
TMap(const tAllocator& a) : TBaseMap<K, D, CMP, tAllocator >(key_compare(), a) {}
+*/
+ TMap(const tAllocator& a) : TBaseMap<K, D, CMP, tAllocator >() {}
};
//
@@ -275,7 +278,7 @@ __inline TPersistString FormatSourceLoc(const TSourceLoc loc)
if (line)
sprintf(locText, "%d:%d", string, line);
else
- sprintf(locText, "%d:? ", string, line);
+ sprintf(locText, "%d:? ", string);
return TPersistString(locText);
}