Skip to content

Commit 95e2c1c

Browse files
leoparenteclaude
andcommitted
fix: pluginInterface() must return global StringView for Corrade cci.20250327
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 751653e commit 95e2c1c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/HandlerModulePlugin.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ class HandlerModulePlugin : public AbstractPlugin
2121
static geo::MaxmindDB *asn;
2222
static geo::MaxmindDB *city;
2323

24-
static std::string pluginInterface()
24+
static Corrade::Containers::StringView pluginInterface()
2525
{
26-
return "visor.module.handler/1.0";
26+
using namespace Corrade::Containers::Literals;
27+
return "visor.module.handler/1.0"_s;
2728
}
2829

2930
static Corrade::Containers::Array<Corrade::Containers::String> pluginSearchPaths()

src/InputModulePlugin.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ class InputModulePlugin : public AbstractPlugin
1818
{
1919

2020
public:
21-
static std::string pluginInterface()
21+
static Corrade::Containers::StringView pluginInterface()
2222
{
23-
return "visor.module.input/1.0";
23+
using namespace Corrade::Containers::Literals;
24+
return "visor.module.input/1.0"_s;
2425
}
2526

2627
static Corrade::Containers::Array<Corrade::Containers::String> pluginSearchPaths()

0 commit comments

Comments
 (0)