use #pragma once

This commit is contained in:
Garux
2021-10-22 02:19:50 +03:00
parent 3362f29500
commit bf6389fc26
374 changed files with 400 additions and 1565 deletions

View File

@@ -19,13 +19,10 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_GENERIC_CONSTANT_H )
#define INCLUDED_GENERIC_CONSTANT_H
#pragma once
/// \file
/// \brief Language extensions for constants that are guaranteed to be evaluated at compile-time.
#define STRING_CONSTANT( name, value ) static constexpr const char* name = value
#define INTEGER_CONSTANT( name, value ) static constexpr int name = value
#endif