const-ify member function

This commit is contained in:
Vern Paxson 2021-11-22 10:55:38 -08:00
parent ffbbacd3b1
commit 735d584d9f
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ public:
// Returns a mapping of from Attr objects to their associated
// initialization information. The Attr must have previously
// been registered.
auto& ProcessedAttr() { return processed_attr; }
auto& ProcessedAttr() const { return processed_attr; }
// True if the given expression is simple enough that we can
// generate code to evaluate it directly, and don't need to