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_ACTION_GENERIC
#define HEADER_DATA_ACTION_GENERIC
#pragma once
/** @file data/action/generic.hpp
*
@@ -112,5 +111,3 @@ void GenericAddAction<T>::perform(vector<T>& container, bool to_undo) const {
}
}
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_KEYWORD
#define HEADER_DATA_ACTION_KEYWORD
#pragma once
/** @file data/action/keyword.hpp
*
@@ -100,5 +99,3 @@ class ChangeKeywordModeAction : public Action {
String mode;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SET
#define HEADER_DATA_ACTION_SET
#pragma once
/** @file data/action/set.hpp
*
@@ -157,5 +156,3 @@ class ChangePackAction : public PackTypesAction {
size_t pos;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SYMBOL
#define HEADER_DATA_ACTION_SYMBOL
#pragma once
/** @file data/action/symbol.hpp
*
@@ -314,5 +313,3 @@ class UngroupSymbolPartsAction : public GroupSymbolPartsActionBase {
virtual String getName(bool to_undo) const;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SYMBOL_PART
#define HEADER_DATA_ACTION_SYMBOL_PART
#pragma once
/** @file data/action/symbol_part.hpp
*
@@ -236,5 +235,3 @@ class SymmetryCopiesAction : public Action {
String old_name;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_VALUE
#define HEADER_DATA_ACTION_VALUE
#pragma once
/** @file data/action/value.hpp
*
@@ -178,5 +177,3 @@ class ValueActionPerformer {
SetP set; ///< Set for the actions
};
// ----------------------------------------------------------------------------- : EOF
#endif