From fb0432bf0bb5ef6216462467cbae6fbe03100dcd Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 6 May 2013 21:08:31 -0500 Subject: The default selected version is now the current stable version. Resolves JIRA issue MMC-10: https://jira.forkk.net/browse/MMC-10 --- libmultimc/include/instversionlist.h | 2 +- libmultimc/include/minecraftversionlist.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libmultimc/include') diff --git a/libmultimc/include/instversionlist.h b/libmultimc/include/instversionlist.h index 61b459d7..5abfb91d 100644 --- a/libmultimc/include/instversionlist.h +++ b/libmultimc/include/instversionlist.h @@ -98,7 +98,7 @@ public: * This is the version that will be selected by default. * By default, this is simply the first version in the list. */ - virtual const InstVersion *getLatestStable(); + virtual const InstVersion *getLatestStable() const; /*! * Sorts the version list. diff --git a/libmultimc/include/minecraftversionlist.h b/libmultimc/include/minecraftversionlist.h index 0a9b9a67..81d5ac2f 100644 --- a/libmultimc/include/minecraftversionlist.h +++ b/libmultimc/include/minecraftversionlist.h @@ -47,6 +47,8 @@ public: virtual void printToStdOut() const; virtual void sort(); + virtual InstVersion *getLatestStable() const; + /*! * Gets the main version list instance. */ -- cgit v1.2.3