From 921151d97a2fb2238ab514324fb95e2732248b96 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Thu, 17 Aug 2017 22:19:39 +0200 Subject: C++ modernize: Pragma once (#6264) * Migrate cpp headers to pragma once --- src/serialization.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/serialization.h') diff --git a/src/serialization.h b/src/serialization.h index 4e01db40a..7f8b83382 100644 --- a/src/serialization.h +++ b/src/serialization.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 SERIALIZATION_HEADER -#define SERIALIZATION_HEADER +#pragma once #include "irrlichttypes.h" #include "exceptions.h" @@ -94,6 +93,3 @@ void decompressZlib(std::istream &is, std::ostream &os); void compress(const SharedBuffer &data, std::ostream &os, u8 version); //void compress(const std::string &data, std::ostream &os, u8 version); void decompress(std::istream &is, std::ostream &os, u8 version); - -#endif - -- cgit v1.2.3