diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Hill.H | 2 | ||||
-rw-r--r-- | src/Hill.cxx | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -56,7 +56,7 @@ class Hills { void clear(); void clobber(); int contains(const Hill *m) const; - int get_num() const; + inline int get_num() const { return num; }; Hill *get(int n) const; }; diff --git a/src/Hill.cxx b/src/Hill.cxx index 6404ec8..f4ba112 100644 --- a/src/Hill.cxx +++ b/src/Hill.cxx @@ -289,11 +289,6 @@ Hills::clobber() { clear(); } -int -Hills::get_num() const { - return num; -} - Hill * Hills::get(int n) const { if (n < 0 || n >= num) |