summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Hill.H2
-rw-r--r--src/Hill.cxx5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/Hill.H b/src/Hill.H
index 225e507..fb02feb 100644
--- a/src/Hill.H
+++ b/src/Hill.H
@@ -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)