mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
string_view refactor
This commit is contained in:
@@ -7,7 +7,7 @@ namespace specter
|
||||
{
|
||||
|
||||
MessageWindow::MessageWindow(ViewResources& res, View& parentView,
|
||||
Type type, const std::string& message,
|
||||
Type type, std::string_view message,
|
||||
std::function<void (bool)> func)
|
||||
: ModalWindow(res, parentView, RectangleConstraint(),
|
||||
type==Type::ErrorOk ? res.themeData().splashErrorBackground() : res.themeData().splashBackground()),
|
||||
|
||||
Reference in New Issue
Block a user