Replace include guards by #pragma once

This commit is contained in:
Twan van Laarhoven
2020-04-26 01:25:16 +02:00
parent bad9981ad9
commit 54a3cbfde3
167 changed files with 167 additions and 670 deletions
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_CLIPBOARD
#define HEADER_DATA_FORMAT_CLIPBOARD
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class CardsOnClipboard : public wxDataObjectComposite {
CardsOnClipboard(const SetP& set, const vector<CardP>& cards);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_FORMATS
#define HEADER_DATA_FORMAT_FORMATS
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -108,5 +107,3 @@ void export_mws(Window* parent, const SetP& set);
/// Export a set to Apprentice
void export_apprentice(Window* parent, const SetP& set);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_IMAGE_TO_SYMBOL
#define HEADER_DATA_FORMAT_IMAGE_TO_SYMBOL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -33,5 +32,3 @@ void simplify_symbol(Symbol&);
/// Simplify a symbol parts, i.e. use bezier curves instead of lots of lines
void simplify_symbol_shape(SymbolShape&);
// ----------------------------------------------------------------------------- : EOF
#endif