summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/variant/array_helpers.hpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-06-25 09:42:55 -0500
committerGitHub <noreply@github.com>2024-06-25 09:42:55 -0500
commit7d7799b56ed7dfdae1454f246a98cf35601cc053 (patch)
tree5f6385831fb7de70386c761907d9f4eb023155f6 /include/godot_cpp/variant/array_helpers.hpp
parent90c6ea2a126a4238d87b3f9472ca16cf84e76102 (diff)
parente0d363aad8e2204fe8ca4b6937ef2ad74a7b293b (diff)
downloadredot-cpp-7d7799b56ed7dfdae1454f246a98cf35601cc053.tar.gz
Merge pull request #1504 from Repiteo/pre-commit-hooks
Replace legacy hooks with `pre-commit` Python tool
Diffstat (limited to 'include/godot_cpp/variant/array_helpers.hpp')
-rw-r--r--include/godot_cpp/variant/array_helpers.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/godot_cpp/variant/array_helpers.hpp b/include/godot_cpp/variant/array_helpers.hpp
index d6d4368..3d948aa 100644
--- a/include/godot_cpp/variant/array_helpers.hpp
+++ b/include/godot_cpp/variant/array_helpers.hpp
@@ -28,6 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
+#ifndef GODOT_ARRAY_HELPERS_HPP
+#define GODOT_ARRAY_HELPERS_HPP
+
namespace godot {
namespace helpers {
template <typename T, typename ValueT>
@@ -48,3 +51,5 @@ T append_all(T appendable) {
}
} // namespace helpers
} // namespace godot
+
+#endif // GODOT_ARRAY_HELPERS_HPP