From 457e37faaf99736d61ca15a8b1bce89ff175a0d6 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Wed, 23 Oct 2019 00:33:20 +0200 Subject: [PATCH] fix: add name_raw to unsupported modules --- include/modules/unsupported.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/modules/unsupported.hpp b/include/modules/unsupported.hpp index 27f22aad..8d9dd959 100644 --- a/include/modules/unsupported.hpp +++ b/include/modules/unsupported.hpp @@ -17,6 +17,9 @@ namespace modules { MODULE_NAME(const bar_settings, string) { \ throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \ } \ + string name_raw() const { \ + return ""; \ + } \ string name() const { \ return ""; \ } \