File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ class InputModulePlugin : public AbstractPlugin
1818{
1919
2020public:
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 ()
You can’t perform that action at this time.
0 commit comments