summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-05-27 14:58:32 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-05-27 14:58:32 +0200
commit70f1e8bdf63e0471d0ccde41926383536f247dcb (patch)
tree21e431913a955ae36abcf0ae18124990adf345a6 /src
parentc31c79c61df46614aa19ea47c7fedcafd560dce4 (diff)
Make ModInfo::getContents() pure virtual.
Diffstat (limited to 'src')
-rw-r--r--src/modinfo.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index c5b1cfca..5f2d7ba7 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -521,10 +521,7 @@ public:
/**
* @return a list of content types contained in a mod
*/
- virtual const std::vector<int>& getContents() const {
- static std::vector<int> dummy;
- return dummy;
- }
+ virtual const std::vector<int>& getContents() const = 0;
/**
* @brief test if the specified flag is set for this mod