Skip to content

Commit e69c83e

Browse files
committed
【AL-10】replicate all smart pointers to unique_ptr
1 parent 7c476bc commit e69c83e

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Designer/APP/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ using namespace alice;
55

66
int main(int argc, char *argv[])
77
{
8-
OwningPtr<IAppLauncher> opLauncher = IAppLauncher::Create();
8+
std::unique_ptr<IAppLauncher> opLauncher = IAppLauncher::Create();
99
DIAG_RETURN_IF_FALSE(opLauncher, 0, "", "hananiah", "2025.11.1");
10-
opLauncher->SetAppConfigFile(L"");
10+
opLauncher->SetAppConfigFile(L"ApplicationConfig.xml");
1111
opLauncher->SetUiAppConfigFile(L"UiApplicationConfig.xml");
1212
int nResult = opLauncher->Run(argc, argv);
1313
return nResult;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ApplicationConfig version="1.0" product="SolidDesigner">
3+
<Features>
4+
<Flag name="NewUI" enabled="true"/>
5+
<Flag name="GpuTess" enabled="false"/>
6+
</Features>
7+
</ApplicationConfig>

0 commit comments

Comments
 (0)