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

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_XML_IXML_H )
#define INCLUDED_XML_IXML_H
#pragma once
#include "itextstream.h"
#include "generic/constant.h"
@@ -55,6 +54,3 @@ public:
virtual void exportXML( XMLImporter& importer ) = 0;
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_XML_XMLELEMENT_H )
#define INCLUDED_XML_XMLELEMENT_H
#pragma once
#include "xml/ixml.h"
#include "string/string.h"
@@ -95,5 +94,3 @@ private:
CopiedString m_name;
attrs_t m_attrs;
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_XML_XMLPARSER_H )
#define INCLUDED_XML_XMLPARSER_H
#pragma once
#include <cstdio>
#include <string.h>
@@ -213,7 +212,3 @@ public:
private:
TextInputStream& m_istream;
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_XMLTEXTAGS_H )
#define INCLUDED_XMLTEXTAGS_H
#pragma once
#include <set>
#include <string/string.h>
@@ -99,5 +98,3 @@ public:
void GetAllTags( std::set<CopiedString>& tags );
void TagSearch( const char* expression, std::set<CopiedString>& paths );
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_XML_XMLWRITER_H )
#define INCLUDED_XML_XMLWRITER_H
#pragma once
#include "convert.h"
#include <vector>
@@ -173,6 +172,3 @@ public:
write_quoted_string( value );
}
};
#endif