File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 92
92
<WarningLevel >Level3</WarningLevel >
93
93
<Optimization >Disabled</Optimization >
94
94
<PreprocessorDefinitions >WIN32;_DEBUG;_WINDOWS;_USRDLL;PIPESERVER_EXPORTS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions >
95
+ <LanguageStandard >stdcpp20</LanguageStandard >
95
96
</ClCompile >
96
97
<Link >
97
98
<SubSystem >Windows</SubSystem >
105
106
<WarningLevel >Level3</WarningLevel >
106
107
<Optimization >Disabled</Optimization >
107
108
<PreprocessorDefinitions >_DEBUG;_WINDOWS;_USRDLL;PIPESERVER_EXPORTS;NOMINMAX;RECLASSNET64;%(PreprocessorDefinitions)</PreprocessorDefinitions >
109
+ <LanguageStandard >stdcpp20</LanguageStandard >
108
110
</ClCompile >
109
111
<Link >
110
112
<SubSystem >Windows</SubSystem >
120
122
<FunctionLevelLinking >true</FunctionLevelLinking >
121
123
<IntrinsicFunctions >true</IntrinsicFunctions >
122
124
<PreprocessorDefinitions >WIN32;NDEBUG;_WINDOWS;_USRDLL;PIPESERVER_EXPORTS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions >
125
+ <LanguageStandard >stdcpp20</LanguageStandard >
123
126
</ClCompile >
124
127
<Link >
125
128
<SubSystem >Windows</SubSystem >
137
140
<FunctionLevelLinking >true</FunctionLevelLinking >
138
141
<IntrinsicFunctions >true</IntrinsicFunctions >
139
142
<PreprocessorDefinitions >NDEBUG;_WINDOWS;_USRDLL;PIPESERVER_EXPORTS;NOMINMAX;RECLASSNET64;%(PreprocessorDefinitions)</PreprocessorDefinitions >
143
+ <LanguageStandard >stdcpp20</LanguageStandard >
140
144
</ClCompile >
141
145
<Link >
142
146
<SubSystem >Windows</SubSystem >
Original file line number Diff line number Diff line change 1
- #include < experimental/ filesystem>
2
- namespace fs = std::experimental:: filesystem;
1
+ #include < filesystem>
2
+ namespace fs = std::filesystem;
3
3
#include < process.h>
4
4
5
5
#include " PipeStream/NamedPipeServerStream.hpp"
@@ -12,7 +12,7 @@ std::wstring CreatePipeName()
12
12
13
13
wchar_t szFileName[MAX_PATH];
14
14
GetModuleFileNameW (nullptr , szFileName, MAX_PATH);
15
- name. append ( fs::path (szFileName). filename () );
15
+ name /= fs::path (szFileName);
16
16
17
17
return name.wstring ();
18
18
}
You can’t perform that action at this time.
0 commit comments