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_STREAM_FILESTREAM_H )
|
||||
#define INCLUDED_STREAM_FILESTREAM_H
|
||||
#pragma once
|
||||
|
||||
#include "idatastream.h"
|
||||
#include <algorithm>
|
||||
@@ -168,6 +167,3 @@ inline bool file_copy( const char* source, const char* target ){
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_STREAM_MEMSTREAM_H )
|
||||
#define INCLUDED_STREAM_MEMSTREAM_H
|
||||
#pragma once
|
||||
|
||||
#include "itextstream.h"
|
||||
#include <algorithm>
|
||||
@@ -70,5 +69,3 @@ public:
|
||||
return count;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_STREAM_STRINGSTREAM_H )
|
||||
#define INCLUDED_STREAM_STRINGSTREAM_H
|
||||
#pragma once
|
||||
|
||||
#include "itextstream.h"
|
||||
#include "string/string.h"
|
||||
@@ -154,6 +153,3 @@ template<typename T>
|
||||
inline StringOutputStream& operator<<( StringOutputStream& ostream, const T& t ){
|
||||
return ostream_write( ostream, t );
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_STREAM_TEXTFILESTREAM_H )
|
||||
#define INCLUDED_STREAM_TEXTFILESTREAM_H
|
||||
#pragma once
|
||||
|
||||
#include "itextstream.h"
|
||||
#include <stdio.h>
|
||||
@@ -75,6 +74,3 @@ template<typename T>
|
||||
inline TextFileOutputStream& operator<<( TextFileOutputStream& ostream, const T& t ){
|
||||
return ostream_write( ostream, t );
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_STREAM_TEXTSTREAM_H )
|
||||
#define INCLUDED_STREAM_TEXTSTREAM_H
|
||||
#pragma once
|
||||
|
||||
/// \file
|
||||
/// \brief Text-output-formatting.
|
||||
@@ -466,5 +465,3 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user