use #pragma once

This commit is contained in:
Garux
2021-10-22 02:19:50 +03:00
parent 3362f29500
commit bf6389fc26
374 changed files with 400 additions and 1565 deletions

View File

@@ -1,6 +1,5 @@
#if !defined( INCLUDED_POOLEDSTRING_H )
#define INCLUDED_POOLEDSTRING_H
#pragma once
#include <map>
#include "generic/static.h"
@@ -88,6 +87,3 @@ public:
return ( *m_i ).key;
}
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_STRING_STRING_H )
#define INCLUDED_STRING_STRING_H
#pragma once
/// \file
/// C-style null-terminated-character-array string library.
@@ -601,5 +600,3 @@ struct RawStringLessNoCase
return string_less_nocase( x, y );
}
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_STRING_STRINGFWD_H )
#define INCLUDED_STRING_STRINGFWD_H
#pragma once
// forward-declaration of CopiedString
@@ -31,5 +30,3 @@ class CopiedBuffer;
template<typename Buffer>
class String;
typedef String< CopiedBuffer< DefaultAllocator<char> > > CopiedString;
#endif