make several member functions const

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-08-26 13:06:52 -07:00
parent 9ca64d5fb3
commit 53ffcf455c
7 changed files with 15 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ public:
int index;
const char *value;
constexpr operator bool() noexcept {
constexpr operator bool() const noexcept {
return index >= 0;
}
};