aboutsummaryrefslogtreecommitdiff
path: root/src/itemstackmetadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemstackmetadata.h')
-rw-r--r--src/itemstackmetadata.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/itemstackmetadata.h b/src/itemstackmetadata.h
index c56c58fd2..843ef4832 100644
--- a/src/itemstackmetadata.h
+++ b/src/itemstackmetadata.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef ITEMSTACKMETADATA_HEADER
-#define ITEMSTACKMETADATA_HEADER
+#pragma once
#include "metadata.h"
@@ -31,5 +30,3 @@ public:
void serialize(std::ostream &os) const;
void deSerialize(std::istream &is);
};
-
-#endif