From cb282c6ef0bb91957f8a6f422705813bd47c788c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 17 Mar 2020 07:33:00 +0100 Subject: Style: Set clang-format Standard to Cpp11 For us, it practically only changes the fact that `A>` is now used instead of the C++03 compatible `A >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`. --- modules/gdscript/gdscript.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/gdscript/gdscript.h') diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 2b8158fe55..3fedc604bf 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -84,8 +84,8 @@ class GDScript : public Script { Map constants; Map member_functions; Map member_indices; //members are just indices to the instanced script. - Map > subclasses; - Map > _signals; + Map> subclasses; + Map> _signals; Vector rpc_functions; Vector rpc_variables; @@ -129,7 +129,7 @@ class GDScript : public Script { #ifdef DEBUG_ENABLED - Map > > pending_reload_state; + Map>> pending_reload_state; #endif @@ -151,7 +151,7 @@ protected: public: virtual bool is_valid() const { return valid; } - const Map > &get_subclasses() const { return subclasses; } + const Map> &get_subclasses() const { return subclasses; } const Map &get_constants() const { return constants; } const Set &get_members() const { return members; } const GDScriptDataType &get_member_type(const StringName &p_member) const { @@ -519,7 +519,7 @@ public: virtual void frame(); virtual void get_public_functions(List *p_functions) const; - virtual void get_public_constants(List > *p_constants) const; + virtual void get_public_constants(List> *p_constants) const; virtual void profiling_start(); virtual void profiling_stop(); -- cgit v1.2.3