diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-27 14:58:32 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-27 14:58:32 +0200 |
| commit | 70f1e8bdf63e0471d0ccde41926383536f247dcb (patch) | |
| tree | 21e431913a955ae36abcf0ae18124990adf345a6 /src/modinfo.h | |
| parent | c31c79c61df46614aa19ea47c7fedcafd560dce4 (diff) | |
Make ModInfo::getContents() pure virtual.
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 5 |
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 |
