summaryrefslogtreecommitdiffstats
path: root/libmultimc/include
diff options
context:
space:
mode:
Diffstat (limited to 'libmultimc/include')
-rw-r--r--libmultimc/include/instversionlist.h2
-rw-r--r--libmultimc/include/minecraftversionlist.h2
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.
*/