File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ namespace PAL_NS_BEGIN {
126126
127127 if (!pathExists || containsParentDirectory)
128128 {
129- assert ( false && " Invalid trace folder path." ) ;
129+ std::cerr << " Invalid trace folder path." << std::endl ;
130130 return false ;
131131 }
132132
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class LogInitTest : public Test
153153 {
154154 // Create the valid path directory
155155 #if defined(_WIN32) || defined(_WIN64)
156- CreateDirectoryA (validPath, NULL );
156+ CreateDirectoryA (validPath. c_str () , NULL );
157157 #else
158158 mkdir (validPath.c_str (), 0777 );
159159 #endif
@@ -169,7 +169,7 @@ class LogInitTest : public Test
169169
170170 // Remove the valid path directory
171171 #if defined(_WIN32) || defined(_WIN64)
172- RemoveDirectoryA (validPath);
172+ RemoveDirectoryA (validPath. c_str () );
173173 #else
174174 rmdir (validPath.c_str ());
175175 #endif
You can’t perform that action at this time.
0 commit comments