summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ir/possible-constant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/possible-constant.h b/src/ir/possible-constant.h
index f8b690a93..b3272461d 100644
--- a/src/ir/possible-constant.h
+++ b/src/ir/possible-constant.h
@@ -162,7 +162,7 @@ public:
// Returns whether we have ever noted a value.
bool hasNoted() const { return !std::get_if<None>(&value); }
- void dump(std::ostream& o) {
+ void dump(std::ostream& o) const {
o << '[';
if (!hasNoted()) {
o << "unwritten";