mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
C++ modernize: Pragma once (#6264)
* Migrate cpp headers to pragma once
This commit is contained in:
parent
c738d1eeab
commit
921151d97a
236 changed files with 288 additions and 1028 deletions
|
@ -28,8 +28,7 @@
|
|||
john@suckerfreegames.com
|
||||
*/
|
||||
|
||||
#ifndef __IRR_USTRING_H_INCLUDED__
|
||||
#define __IRR_USTRING_H_INCLUDED__
|
||||
#pragma once
|
||||
|
||||
#if (__cplusplus > 199711L) || (_MSC_VER >= 1600) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# define USTRING_CPP0X
|
||||
|
@ -3890,5 +3889,3 @@ class hash : public std::unary_function<core::ustring, size_t>
|
|||
|
||||
} // end namespace core
|
||||
} // end namespace irr
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue