forked from boostorg/system
Missing std added to ::remove to clear problem in Sun tests
[SVN r39292]
This commit is contained in:
@ -52,7 +52,7 @@ boost::system::error_code my_mkdir( const std::string & path )
|
|||||||
boost::system::error_code my_remove( const std::string & path )
|
boost::system::error_code my_remove( const std::string & path )
|
||||||
{
|
{
|
||||||
return boost::system::error_code(
|
return boost::system::error_code(
|
||||||
::remove( path.c_str() ) == 0 ? 0 : errno,
|
std::remove( path.c_str() ) == 0 ? 0 : errno,
|
||||||
boost::system::posix_category ); // OK for both Windows and POSIX
|
boost::system::posix_category ); // OK for both Windows and POSIX
|
||||||
// Alternatively, could use posix_category
|
// Alternatively, could use posix_category
|
||||||
// on Windows and system_category on
|
// on Windows and system_category on
|
||||||
|
Reference in New Issue
Block a user