diff options
Diffstat (limited to 'src/emscripten-optimizer/istring.h')
-rw-r--r-- | src/emscripten-optimizer/istring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emscripten-optimizer/istring.h b/src/emscripten-optimizer/istring.h index d114540e2..abc1e327b 100644 --- a/src/emscripten-optimizer/istring.h +++ b/src/emscripten-optimizer/istring.h @@ -114,8 +114,8 @@ struct IString { const char *c_str() const { return str; } bool equals(const char *other) const { return !strcmp(str, other); } - bool is() { return str != nullptr; } - bool isNull() { return str == nullptr; } + bool is() const { return str != nullptr; } + bool isNull() const { return str == nullptr; } }; } // namespace cashew |