mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-11 09:00:06 +00:00
parent
16a0da370b
commit
68f2af9f7d
@ -396,11 +396,6 @@ class ValidationState_t {
|
||||
std::vector<Decoration>& id_decorations(uint32_t id) {
|
||||
return id_decorations_[id];
|
||||
}
|
||||
const std::vector<Decoration>& id_decorations(uint32_t id) const {
|
||||
// TODO: This would throw or generate SIGABRT if id has no
|
||||
// decorations. Remove/refactor this function.
|
||||
return id_decorations_.at(id);
|
||||
}
|
||||
|
||||
// Returns const pointer to the internal decoration container.
|
||||
const std::map<uint32_t, std::vector<Decoration>>& id_decorations() const {
|
||||
|
Loading…
Reference in New Issue
Block a user