Skip to content

Commit c0c46fd

Browse files
author
Sebastian Pape
committed
Fixing the namespace issues
1 parent 131d1e8 commit c0c46fd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DasherCore

src/DasherController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class XmlServerStore;
44

55
DasherController::DasherController(Dasher::CSettingsStore* pSettingsStore): CDashIntfScreenMsgs(pSettingsStore)
66
{
7-
ScreenModule = make_shared<DasherUIScreen>();
7+
ScreenModule = std::make_shared<DasherUIScreen>();
88
CDashIntfScreenMsgs::ChangeScreen(ScreenModule.get());
99
}
1010

src/MainWindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ MainWindow::MainWindow()
1010
{
1111
ImGui::SetCurrentFont(LoadFonts(14.0f));
1212

13-
Settings = make_unique<Dasher::XmlSettingsStore>("Settings.xml", this);
13+
Settings = std::make_unique<Dasher::XmlSettingsStore>("Settings.xml", this);
1414
Settings->Load();
1515
Settings->Save();
1616

17-
Controller = make_unique<DasherController>(Settings.get());
17+
Controller = std::make_unique<DasherController>(Settings.get());
1818
Controller->Initialize();
1919

2020
Controller->GetPermittedValues(Dasher::SP_ALPHABET_ID, Alphabets);

0 commit comments

Comments
 (0)