summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 4b644db..f1cc4c7 100644
--- a/src/state.h
+++ b/src/state.h
@@ -42,7 +42,7 @@ struct Pool {
: name_(name), current_use_(0), depth_(depth) { }
// A depth of 0 is infinite
- bool isValid() const { return depth_ >= 0; }
+ bool is_valid() const { return depth_ >= 0; }
int depth() const { return depth_; }
const string& name() const { return name_; }