From 70f1e8bdf63e0471d0ccde41926383536f247dcb Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Wed, 27 May 2020 14:58:32 +0200 Subject: Make ModInfo::getContents() pure virtual. --- src/modinfo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/modinfo.h') 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& getContents() const { - static std::vector dummy; - return dummy; - } + virtual const std::vector& getContents() const = 0; /** * @brief test if the specified flag is set for this mod -- cgit v1.3.1