projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7860e
)
Initialize member TSymbol::uniqueId.
author
Kevin Athey
<kda@google.com>
Tue, 16 Nov 2021 00:33:08 +0000
(16:33 -0800)
committer
Kevin Athey
<kda@google.com>
Tue, 16 Nov 2021 00:33:08 +0000
(16:33 -0800)
glslang/MachineIndependent/SymbolTable.h
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/SymbolTable.h
b/glslang/MachineIndependent/SymbolTable.h
index
720999a
..
31312ec
100644
(file)
--- a/
glslang/MachineIndependent/SymbolTable.h
+++ b/
glslang/MachineIndependent/SymbolTable.h
@@
-84,7
+84,7
@@
typedef TVector<const char*> TExtensionList;
class TSymbol {
public:
POOL_ALLOCATOR_NEW_DELETE(GetThreadPoolAllocator())
- explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { }
+ explicit TSymbol(const TString *n) : name(n),
uniqueId(0),
extensions(0), writable(true) { }
virtual TSymbol* clone() const = 0;
virtual ~TSymbol() { } // rely on all symbol owned memory coming from the pool