From 56347cbd93585623c5be6f287e8a125c9e1cf5dd Mon Sep 17 00:00:00 2001 From: flb Date: Fri, 19 Mar 2021 17:56:10 +0100 Subject: [PATCH] fixed empty file not creating --- source/warning_page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {