summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/Include/Common.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-03-29 02:28:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-03-29 02:28:21 +0000
commit9a54843a94801a2253a05e2b4b93fbaf09b59e96 (patch)
tree400e7f2cfdd0c89c5d74d2938e0e50ec23723127 /src/mesa/shader/slang/Include/Common.h
parentcb80e3905cfc3f38dc47cdf8936b6e33fdab9648 (diff)
fix a variety of warnings/errors
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 bd1aaa8fcf..4a9c0d34a7 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);
}