mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-05 02:10:14 +03:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
* This is free and unencumbered software released into the public domain.
|
||||
*/
|
||||
|
||||
#ifndef EXAMPLE_CLASS_H
|
||||
#define EXAMPLE_CLASS_H
|
||||
#pragma once
|
||||
|
||||
// We don't need windows.h in this example plugin but many others do, and it can
|
||||
// lead to annoying situations due to the ton of macros it defines.
|
||||
@@ -289,5 +288,3 @@ protected:
|
||||
public:
|
||||
String get_the_word() const;
|
||||
};
|
||||
|
||||
#endif // EXAMPLE_CLASS_H
|
||||
|
||||
Reference in New Issue
Block a user