make several member functions const
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
int index;
|
||||
const char *value;
|
||||
|
||||
constexpr operator bool() noexcept {
|
||||
constexpr operator bool() const noexcept {
|
||||
return index >= 0;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user