diff options
author | Andrew <forkk@forkk.net> | 2013-05-06 21:08:31 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-05-06 21:08:31 -0500 |
commit | fb0432bf0bb5ef6216462467cbae6fbe03100dcd (patch) | |
tree | cd8edfcd57ed9ab3267af4ec5995e91971b2f4f9 /libmultimc/include | |
parent | 7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688 (diff) | |
download | MultiMC-fb0432bf0bb5ef6216462467cbae6fbe03100dcd.tar MultiMC-fb0432bf0bb5ef6216462467cbae6fbe03100dcd.tar.gz MultiMC-fb0432bf0bb5ef6216462467cbae6fbe03100dcd.tar.lz MultiMC-fb0432bf0bb5ef6216462467cbae6fbe03100dcd.tar.xz MultiMC-fb0432bf0bb5ef6216462467cbae6fbe03100dcd.zip |
The default selected version is now the current stable version.
Resolves JIRA issue MMC-10:
https://jira.forkk.net/browse/MMC-10
Diffstat (limited to 'libmultimc/include')
-rw-r--r-- | libmultimc/include/instversionlist.h | 2 | ||||
-rw-r--r-- | libmultimc/include/minecraftversionlist.h | 2 |
2 files changed, 3 insertions, 1 deletions
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. */ |