diff options
Diffstat (limited to 'lib/SPIRV/libSPIRV/SPIRVDecorate.h')
-rw-r--r-- | lib/SPIRV/libSPIRV/SPIRVDecorate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/SPIRV/libSPIRV/SPIRVDecorate.h b/lib/SPIRV/libSPIRV/SPIRVDecorate.h index f4cacf0..1683d45 100644 --- a/lib/SPIRV/libSPIRV/SPIRVDecorate.h +++ b/lib/SPIRV/libSPIRV/SPIRVDecorate.h @@ -105,12 +105,12 @@ protected: SPIRVDecorationGroup *Owner; // Owning decorate group
};
-class SPIRVDecorateSet: public std::multiset<const SPIRVDecorateGeneric *,
+class SPIRVDecorateSet: public std::multiset<SPIRVDecorateGeneric *,
SPIRVDecorateGeneric::Comparator> {
public:
- typedef std::multiset<const SPIRVDecorateGeneric *,
+ typedef std::multiset<SPIRVDecorateGeneric *,
SPIRVDecorateGeneric::Comparator> BaseType;
- iterator insert(const value_type& Dec) {
+ iterator insert(value_type& Dec) {
auto ER = BaseType::equal_range(Dec);
for (auto I = ER.first, E = ER.second; I != E; ++I) {
SPIRVDBG(spvdbgs() << "[compare decorate] " << *Dec
|