Ticket #11288: operations.cpp.patch
File operations.cpp.patch, 1.4 KB (added by , 7 years ago) |
---|
-
libs/filesystem/src/operations.cpp
old new 245 245 246 246 const error_code ok; 247 247 248 bool error(bool was_error, error_code* ec, const string&message)248 bool error(bool was_error, error_code* ec, const char* message) 249 249 { 250 250 if (!was_error) 251 251 { … … 262 262 return was_error; 263 263 } 264 264 265 bool error(bool was_error, const path& p, error_code* ec, const string&message)265 bool error(bool was_error, const path& p, error_code* ec, const char* message) 266 266 { 267 267 if (!was_error) 268 268 { … … 280 280 } 281 281 282 282 bool error(bool was_error, const path& p1, const path& p2, error_code* ec, 283 const string&message)283 const char* message) 284 284 { 285 285 if (!was_error) 286 286 { … … 298 298 } 299 299 300 300 bool error(bool was_error, const error_code& result, 301 const path& p, error_code* ec, const string&message)301 const path& p, error_code* ec, const char* message) 302 302 // Overwrites ec if there has already been an error 303 303 { 304 304 if (!was_error) … … 316 316 } 317 317 318 318 bool error(bool was_error, const error_code& result, 319 const path& p1, const path& p2, error_code* ec, const string&message)319 const path& p1, const path& p2, error_code* ec, const char* message) 320 320 // Overwrites ec if there has already been an error 321 321 { 322 322 if (!was_error)