Convert to pragma once

This commit is contained in:
Jack Andersen 2018-10-06 17:39:24 -10:00
parent eb6aa30563
commit e964a013fe
10 changed files with 10 additions and 28 deletions

View File

@ -1,5 +1,4 @@
#ifndef __NOD_DIRECTORY_ENUMERATOR__ #pragma once
#define __NOD_DIRECTORY_ENUMERATOR__
#include "Util.hpp" #include "Util.hpp"
@ -65,4 +64,3 @@ public:
} }
#endif // __NOD_DIRECTORY_ENUMERATOR__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_DISC_BASE__ #pragma once
#define __NOD_DISC_BASE__
#include <vector> #include <vector>
#include <memory> #include <memory>
@ -504,4 +503,3 @@ public:
} }
#endif // __NOD_DISC_BASE__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_DISC_GCN__ #pragma once
#define __NOD_DISC_GCN__
#include "DiscBase.hpp" #include "DiscBase.hpp"
@ -38,4 +37,3 @@ public:
} }
#endif // __NOD_DISC_GCN__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_DISC_WII__ #pragma once
#define __NOD_DISC_WII__
#include "DiscBase.hpp" #include "DiscBase.hpp"
@ -37,4 +36,3 @@ public:
} }
#endif // __NOD_DISC_WII__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_IDISC_IO__ #pragma once
#define __NOD_IDISC_IO__
#include <memory> #include <memory>
#include <cstdlib> #include <cstdlib>
@ -72,4 +71,3 @@ public:
} }
#endif // __NOD_IDISC_IO__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_IFILE_IO__ #pragma once
#define __NOD_IFILE_IO__
#include <memory> #include <memory>
#include <functional> #include <functional>
@ -83,4 +82,3 @@ std::unique_ptr<IFileIO> NewFileIO(SystemStringView path, int64_t maxWriteSize=-
} }
#endif // __NOD_IFILE_IO__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_UTIL_HPP__ #pragma once
#define __NOD_UTIL_HPP__
#if _WIN32 && UNICODE #if _WIN32 && UNICODE
#include <wctype.h> #include <wctype.h>
@ -361,4 +360,3 @@ static inline void Printf(const SystemChar* fmt, ...)
} }
#endif // __NOD_UTIL_HPP__

View File

@ -1,5 +1,4 @@
#ifndef __AES_HPP__ #pragma once
#define __AES_HPP__
#include <cstdint> #include <cstdint>
#include <cstdlib> #include <cstdlib>
@ -21,4 +20,3 @@ std::unique_ptr<IAES> NewAES();
} }
#endif //__AES_HPP__

View File

@ -1,5 +1,4 @@
#ifndef __NOD_LIB__ #pragma once
#define __NOD_LIB__
#include <memory> #include <memory>
#include <functional> #include <functional>
@ -26,4 +25,3 @@ std::unique_ptr<DiscBase> OpenDiscFromImage(SystemStringView path, bool& isWii);
#include "DiscWii.hpp" #include "DiscWii.hpp"
#include "IDiscIO.hpp" #include "IDiscIO.hpp"
#endif // __NOD_LIB__

@ -1 +1 @@
Subproject commit 22ed01ffc5e5944479ed69d7b45dc8c96465063e Subproject commit 1b6c2ae7159fd4fd7a80b1951d5ed43e4d1a3676