From 5f35ee49184899c1bfffe4d788286b7c9b578c00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 4 Jul 2008 21:59:30 +0200 Subject: [PATCH] use #pragma once --- CollectionReader.h | 4 +--- FileReaderInput.h | 5 +---- Main.h | 4 +--- ReaderInput.h | 4 +--- 4 files changed, 4 insertions(+), 13 deletions(-) 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 -- 2.7.4