use #pragma once
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_OS_DIR_H )
|
||||
#define INCLUDED_OS_DIR_H
|
||||
#pragma once
|
||||
|
||||
/// \file
|
||||
/// \brief OS directory-listing object.
|
||||
@@ -63,6 +62,3 @@ void Directory_forEach( const char* path, const Functor& functor ){
|
||||
directory_close( dir );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_OS_FILE_H )
|
||||
#define INCLUDED_OS_FILE_H
|
||||
#pragma once
|
||||
|
||||
/// \file
|
||||
/// \brief OS file-system querying and manipulation.
|
||||
@@ -144,7 +143,3 @@ inline FileTime file_modified( const char* path ){
|
||||
}
|
||||
return st.st_mtime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined ( INCLUDED_OS_PATH_H )
|
||||
#define INCLUDED_OS_PATH_H
|
||||
#pragma once
|
||||
|
||||
/// \file
|
||||
/// \brief OS file-system path comparison, decomposition and manipulation.
|
||||
@@ -310,6 +309,3 @@ TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const PathDe
|
||||
}
|
||||
return ostream;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user