From 6253352e1e29f35c1e60c8b1779716bc3eb616b9 Mon Sep 17 00:00:00 2001 From: Collecting Date: Sun, 25 Jan 2026 13:42:55 +0100 Subject: [PATCH] fix(compiler): generate the vtable within settings.cpp Signed-off-by: Collecting --- src/common/settings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/settings.cpp b/src/common/settings.cpp index a17e13bb9..02db52f5a 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -364,3 +364,9 @@ void SetConfiguringGlobal(bool is_global) { } } // namespace Settings + +#include "common/settings_setting.h" +#include "common/settings_enums.h" + +// generate the vtable for the linker +template class Settings::SwitchableSetting;