diff --git a/source/warning_page.cpp b/source/warning_page.cpp index 990388f..b636d41 100644 --- a/source/warning_page.cpp +++ b/source/warning_page.cpp @@ -11,7 +11,7 @@ using namespace i18n::literals; WarningPage::WarningPage(std::string text) { fs::createTree(CONFIG_PATH); - std::ofstream(HIDDEN_AIO_FILE); + std::ofstream hiddenFile(HIDDEN_AIO_FILE); this->button = (new brls::Button(brls::ButtonStyle::PRIMARY))->setLabel("menus/common/continue"_i18n); this->button->setParent(this); this->button->getClickEvent()->subscribe([this](View* view) {