Convert to pragma once

This commit is contained in:
Jack Andersen
2018-10-06 17:36:44 -10:00
parent 528b350626
commit 0b52f3dbab
56 changed files with 56 additions and 166 deletions

View File

@@ -1,5 +1,4 @@
#ifndef BOO_UWPCOMMON_HPP
#define BOO_UWPCOMMON_HPP
#pragma once
#include "WinCommon.hpp"
@@ -84,4 +83,3 @@ struct Boo3DAppContextUWP : Boo3DAppContext
}
};
#endif // BOO_UWPCOMMON_HPP

View File

@@ -1,5 +1,4 @@
#ifndef BOO_WIN32COMMON_HPP
#define BOO_WIN32COMMON_HPP
#pragma once
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS 1 /* STFU MSVC */
@@ -168,4 +167,3 @@ namespace boo
extern Win32Cursors WIN32_CURSORS;
}
#endif // BOO_WIN32COMMON_HPP

View File

@@ -1,5 +1,4 @@
#ifndef BOO_WINCOMMON_HPP
#define BOO_WINCOMMON_HPP
#pragma once
#include <unordered_map>
#include "boo/IWindow.hpp"
@@ -133,4 +132,3 @@ static inline std::wstring MBSTWCS(const char* str)
return strTo;
}
#endif // BOO_WINCOMMON_HPP