From: David ‘Bombe’ Roden Date: Fri, 4 Jul 2008 19:59:30 +0000 (+0200) Subject: use #pragma once X-Git-Tag: 0.1~65 X-Git-Url: https://git.pterodactylus.net/?p=ecparse.git;a=commitdiff_plain;h=5f35ee49184899c1bfffe4d788286b7c9b578c00 use #pragma once --- diff --git a/CollectionReader.h b/CollectionReader.h index 2936e25..5e10c51 100644 --- a/CollectionReader.h +++ b/CollectionReader.h @@ -2,8 +2,7 @@ * © 2008 by David Roden */ -#ifndef __ECPARSE_COLLECTIONREADER_H__ -#define __ECPARSE_COLLECTIONREADER_H__ +#pragma once #include "ReaderInput.h" @@ -18,4 +17,3 @@ private: }; -#endif diff --git a/FileReaderInput.h b/FileReaderInput.h index 4398bbf..4188557 100644 --- a/FileReaderInput.h +++ b/FileReaderInput.h @@ -2,8 +2,7 @@ * © 2008 by David Roden */ -#ifndef __ECPARSE_FILEREADERINPUT_H__ -#define __ECPARSE_FILEREADERINPUT_H__ +#pragma once #include #include "ReaderInput.h" @@ -21,5 +20,3 @@ private: }; -#endif - diff --git a/Main.h b/Main.h index 8c2937d..75cfa1a 100644 --- a/Main.h +++ b/Main.h @@ -2,10 +2,8 @@ * © 2008 by David Roden */ -#ifndef __ECPARSE_MAIN_H__ -#define __ECPARSE_MAIN_H__ +#pragma once #include "FileReaderInput.h" #include "CollectionReader.h" -#endif diff --git a/ReaderInput.h b/ReaderInput.h index 8c6f7e2..ec84632 100644 --- a/ReaderInput.h +++ b/ReaderInput.h @@ -2,8 +2,7 @@ * © 2008 by David Roden */ -#ifndef __ECPARSE_READERINPUT_H__ -#define __ECPARSE_READERINPUT_H__ +#pragma once #include @@ -16,4 +15,3 @@ public: }; -#endif