summaryrefslogtreecommitdiff
path: root/src/choose_hill.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-29 14:10:09 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-29 14:10:09 +0200
commit50c4c4b9ce488f2c7691ea26bf670b0abfc797cd (patch)
treee0fa3d1cbdee56225514de49139e073d48a555b6 /src/choose_hill.cxx
parentd2eca5bbe81dc4a899c97f1423c392554113f852 (diff)
change Hills::sort() interface
Diffstat (limited to 'src/choose_hill.cxx')
-rw-r--r--src/choose_hill.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/choose_hill.cxx b/src/choose_hill.cxx
index 7f59d68..c83d8b1 100644
--- a/src/choose_hill.cxx
+++ b/src/choose_hill.cxx
@@ -15,7 +15,7 @@ choose_hill(const Hills *hills, const char *l) {
Hills *h_sort = new Hills(hills);
Hill *ret;
- h_sort->sort_name();
+ h_sort->sort(Hills::SORT_NAME);
for (int i=0; i<h_sort->get_num(); i++) {
char buf[256];