From 447bc15875c664983f0992f6d355360467863d6d Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 29 Mar 2009 12:51:00 +0200 Subject: inline Hills::get_num() --- src/Hill.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Hill.H') 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; }; -- cgit v1.2.3