diff --git a/scene/2d/node_2d.h b/scene/2d/node_2d.h index d0e72ffbbe..17bba4e4e3 100644 --- a/scene/2d/node_2d.h +++ b/scene/2d/node_2d.h @@ -115,6 +115,4 @@ public: Transform2D get_relative_transform_to_parent(const Node *p_parent) const; Transform2D get_transform() const override; - - Node2D() {} }; diff --git a/scene/2d/path_2d.h b/scene/2d/path_2d.h index 510b27b7cf..df0dfa7f2b 100644 --- a/scene/2d/path_2d.h +++ b/scene/2d/path_2d.h @@ -55,8 +55,6 @@ public: void set_curve(const Ref &p_curve); Ref get_curve() const; - - Path2D() {} }; class PathFollow2D : public Node2D { @@ -106,6 +104,4 @@ public: bool is_cubic_interpolation_enabled() const; PackedStringArray get_configuration_warnings() const override; - - PathFollow2D() {} }; diff --git a/scene/3d/path_3d.h b/scene/3d/path_3d.h index c7822cda37..5dc69d4454 100644 --- a/scene/3d/path_3d.h +++ b/scene/3d/path_3d.h @@ -136,8 +136,6 @@ public: void update_transform(); static Transform3D correct_posture(Transform3D p_transform, PathFollow3D::RotationMode p_rotation_mode); - - PathFollow3D() {} }; VARIANT_ENUM_CAST(PathFollow3D::RotationMode); diff --git a/scene/3d/physics/physical_bone_3d.h b/scene/3d/physics/physical_bone_3d.h index 45fae5e6de..4ccbb02782 100644 --- a/scene/3d/physics/physical_bone_3d.h +++ b/scene/3d/physics/physical_bone_3d.h @@ -156,8 +156,6 @@ public: virtual void _get_property_list(List *p_list) const; SixDOFAxisData axis_data[3]; - - SixDOFJointData() {} }; private: diff --git a/scene/3d/physics/spring_arm_3d.h b/scene/3d/physics/spring_arm_3d.h index 54293ff0a6..d43acac274 100644 --- a/scene/3d/physics/spring_arm_3d.h +++ b/scene/3d/physics/spring_arm_3d.h @@ -61,8 +61,6 @@ public: void set_margin(real_t p_margin); real_t get_margin(); - SpringArm3D() {} - private: void process_spring(); }; diff --git a/scene/3d/skeleton_ik_3d.h b/scene/3d/skeleton_ik_3d.h index 3bad4de980..fd1a6050c3 100644 --- a/scene/3d/skeleton_ik_3d.h +++ b/scene/3d/skeleton_ik_3d.h @@ -90,8 +90,6 @@ public: Vector end_effectors; Transform3D goal_global_transform; - - Task() {} }; private: diff --git a/scene/3d/xr/xr_nodes.h b/scene/3d/xr/xr_nodes.h index 65ba86abd2..ef68188efb 100644 --- a/scene/3d/xr/xr_nodes.h +++ b/scene/3d/xr/xr_nodes.h @@ -153,9 +153,6 @@ public: Vector2 get_vector2(const StringName &p_name) const; XRPositionalTracker::TrackerHand get_tracker_hand() const; - - XRController3D() {} - ~XRController3D() {} }; /* @@ -175,9 +172,6 @@ protected: public: Vector3 get_size() const; Plane get_plane() const; - - XRAnchor3D() {} - ~XRAnchor3D() {} }; /* @@ -211,7 +205,4 @@ public: void set_current(bool p_enabled); bool is_current() const; - - XROrigin3D() {} - ~XROrigin3D() {} }; diff --git a/scene/animation/animation_mixer.h b/scene/animation/animation_mixer.h index edb37f0ee3..54ba5799ff 100644 --- a/scene/animation/animation_mixer.h +++ b/scene/animation/animation_mixer.h @@ -198,7 +198,6 @@ protected: TrackCacheTransform() { type = Animation::TYPE_POSITION_3D; } - ~TrackCacheTransform() {} }; struct RootMotionCache { @@ -219,7 +218,6 @@ protected: shape_index(p_other.shape_index) {} TrackCacheBlendShape() { type = Animation::TYPE_BLEND_SHAPE; } - ~TrackCacheBlendShape() {} }; struct TrackCacheValue : public TrackCache { @@ -258,7 +256,6 @@ protected: struct TrackCacheMethod : public TrackCache { TrackCacheMethod() { type = Animation::TYPE_METHOD; } - ~TrackCacheMethod() {} }; // Audio stream information for each audio stream placed on the track. @@ -296,7 +293,6 @@ protected: TrackCacheAudio() { type = Animation::TYPE_AUDIO; } - ~TrackCacheAudio() {} }; struct TrackCacheAnimation : public TrackCache { @@ -305,7 +301,6 @@ protected: TrackCacheAnimation() { type = Animation::TYPE_ANIMATION; } - ~TrackCacheAnimation() {} }; RootMotionCache root_motion_cache; @@ -390,7 +385,6 @@ protected: step = 0.0; } - CaptureCache() {} ~CaptureCache() { clear(); } diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h index d732edfc75..ec8f5a5fdd 100644 --- a/scene/animation/animation_tree.h +++ b/scene/animation/animation_tree.h @@ -251,9 +251,6 @@ protected: virtual void _tree_changed(); virtual void _animation_node_renamed(const ObjectID &p_oid, const String &p_old_name, const String &p_new_name); virtual void _animation_node_removed(const ObjectID &p_oid, const StringName &p_node); - -public: - AnimationRootNode() {} }; class AnimationNodeStartState : public AnimationRootNode { diff --git a/scene/gui/center_container.cpp b/scene/gui/center_container.cpp index 13771ee391..98fc1116ba 100644 --- a/scene/gui/center_container.cpp +++ b/scene/gui/center_container.cpp @@ -93,5 +93,3 @@ void CenterContainer::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_top_left"), "set_use_top_left", "is_using_top_left"); } - -CenterContainer::CenterContainer() {} diff --git a/scene/gui/center_container.h b/scene/gui/center_container.h index 119ca14e58..aed17d25cf 100644 --- a/scene/gui/center_container.h +++ b/scene/gui/center_container.h @@ -49,6 +49,4 @@ public: virtual Vector get_allowed_size_flags_horizontal() const override; virtual Vector get_allowed_size_flags_vertical() const override; - - CenterContainer(); }; diff --git a/scene/gui/graph_element.h b/scene/gui/graph_element.h index e9a00ae4df..3bef5859c4 100644 --- a/scene/gui/graph_element.h +++ b/scene/gui/graph_element.h @@ -89,6 +89,4 @@ public: bool is_resizing() const { return resizing; } - - GraphElement() {} }; diff --git a/scene/gui/grid_container.cpp b/scene/gui/grid_container.cpp index 75de126b9f..7c781bed9e 100644 --- a/scene/gui/grid_container.cpp +++ b/scene/gui/grid_container.cpp @@ -318,5 +318,3 @@ Size2 GridContainer::get_minimum_size() const { return ms; } - -GridContainer::GridContainer() {} diff --git a/scene/gui/grid_container.h b/scene/gui/grid_container.h index bc01f3961d..79cbd60cc8 100644 --- a/scene/gui/grid_container.h +++ b/scene/gui/grid_container.h @@ -52,6 +52,4 @@ public: virtual Size2 get_minimum_size() const override; int get_h_separation() const; - - GridContainer(); }; diff --git a/scene/gui/spin_box.h b/scene/gui/spin_box.h index 977b1f5041..37f839b200 100644 --- a/scene/gui/spin_box.h +++ b/scene/gui/spin_box.h @@ -40,13 +40,8 @@ class SpinBoxLineEdit : public LineEdit { protected: void _notification(int p_what); - static void _bind_methods() {} - void _accessibility_action_inc(const Variant &p_data); void _accessibility_action_dec(const Variant &p_data); - -public: - SpinBoxLineEdit() {} }; class SpinBox : public Range { diff --git a/scene/gui/texture_button.cpp b/scene/gui/texture_button.cpp index a777f83f43..70820604bf 100644 --- a/scene/gui/texture_button.cpp +++ b/scene/gui/texture_button.cpp @@ -418,5 +418,3 @@ void TextureButton::set_flip_v(bool p_flip) { bool TextureButton::is_flipped_v() const { return vflip; } - -TextureButton::TextureButton() {} diff --git a/scene/gui/texture_button.h b/scene/gui/texture_button.h index 8fea583a78..4531f4f03f 100644 --- a/scene/gui/texture_button.h +++ b/scene/gui/texture_button.h @@ -98,8 +98,6 @@ public: void set_flip_v(bool p_flip); bool is_flipped_v() const; - - TextureButton(); }; VARIANT_ENUM_CAST(TextureButton::StretchMode); diff --git a/scene/gui/video_stream_player.cpp b/scene/gui/video_stream_player.cpp index 3829836da0..8e2d522a82 100644 --- a/scene/gui/video_stream_player.cpp +++ b/scene/gui/video_stream_player.cpp @@ -579,8 +579,6 @@ void VideoStreamPlayer::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::STRING_NAME, "bus", PROPERTY_HINT_ENUM, ""), "set_bus", "get_bus"); } -VideoStreamPlayer::VideoStreamPlayer() {} - VideoStreamPlayer::~VideoStreamPlayer() { resampler.clear(); // Not necessary here, but make in consistent with other "stream_player" classes. } diff --git a/scene/gui/video_stream_player.h b/scene/gui/video_stream_player.h index 9a71b14f1c..bdacd88f8d 100644 --- a/scene/gui/video_stream_player.h +++ b/scene/gui/video_stream_player.h @@ -124,6 +124,5 @@ public: void set_bus(const StringName &p_bus); StringName get_bus() const; - VideoStreamPlayer(); ~VideoStreamPlayer(); }; diff --git a/scene/main/multiplayer_api.h b/scene/main/multiplayer_api.h index 7308c9b84a..7aa14de42e 100644 --- a/scene/main/multiplayer_api.h +++ b/scene/main/multiplayer_api.h @@ -74,7 +74,6 @@ public: bool has_multiplayer_peer() { return get_multiplayer_peer().is_valid(); } bool is_server() { return get_unique_id() == MultiplayerPeer::TARGET_PEER_SERVER; } - MultiplayerAPI() {} virtual ~MultiplayerAPI() {} }; diff --git a/scene/main/multiplayer_peer.h b/scene/main/multiplayer_peer.h index f2dbac133f..90921b7a92 100644 --- a/scene/main/multiplayer_peer.h +++ b/scene/main/multiplayer_peer.h @@ -92,8 +92,6 @@ public: virtual ConnectionStatus get_connection_status() const = 0; uint32_t generate_unique_id() const; - - MultiplayerPeer() {} }; VARIANT_ENUM_CAST(MultiplayerPeer::ConnectionStatus); diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index c871e3c1c3..7344c7346d 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -114,8 +114,6 @@ void SceneTreeTimer::release_connections() { } } -SceneTreeTimer::SceneTreeTimer() {} - #ifndef _3D_DISABLED // This should be called once per physics tick, to make sure the transform previous and current // is kept up to date on the few Node3Ds that are using client side physics interpolation. diff --git a/scene/main/scene_tree.h b/scene/main/scene_tree.h index dfff6551b4..6d6c3cbba1 100644 --- a/scene/main/scene_tree.h +++ b/scene/main/scene_tree.h @@ -77,8 +77,6 @@ public: bool is_ignoring_time_scale(); void release_connections(); - - SceneTreeTimer(); }; class SceneTree : public MainLoop { diff --git a/scene/main/shader_globals_override.cpp b/scene/main/shader_globals_override.cpp index 1836a9a3c0..9d0bfbc33a 100644 --- a/scene/main/shader_globals_override.cpp +++ b/scene/main/shader_globals_override.cpp @@ -288,5 +288,3 @@ PackedStringArray ShaderGlobalsOverride::get_configuration_warnings() const { void ShaderGlobalsOverride::_bind_methods() { ClassDB::bind_method(D_METHOD("_activate"), &ShaderGlobalsOverride::_activate); } - -ShaderGlobalsOverride::ShaderGlobalsOverride() {} diff --git a/scene/main/shader_globals_override.h b/scene/main/shader_globals_override.h index 835fd37002..5dcc6b85ca 100644 --- a/scene/main/shader_globals_override.h +++ b/scene/main/shader_globals_override.h @@ -58,6 +58,4 @@ protected: public: PackedStringArray get_configuration_warnings() const override; - - ShaderGlobalsOverride(); }; diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index bf9d5a6e3f..8c36c56c42 100644 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -245,5 +245,3 @@ void Timer::_bind_methods() { BIND_ENUM_CONSTANT(TIMER_PROCESS_PHYSICS); BIND_ENUM_CONSTANT(TIMER_PROCESS_IDLE); } - -Timer::Timer() {} diff --git a/scene/main/timer.h b/scene/main/timer.h index f9368ca220..2c1df90c22 100644 --- a/scene/main/timer.h +++ b/scene/main/timer.h @@ -80,7 +80,6 @@ public: void set_timer_process_callback(TimerProcessCallback p_callback); TimerProcessCallback get_timer_process_callback() const; - Timer(); private: TimerProcessCallback timer_process_callback = TIMER_PROCESS_IDLE; diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 0ed10cb60f..f66134c67d 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -5564,5 +5564,3 @@ void SubViewport::_validate_property(PropertyInfo &p_property) const { SubViewport::SubViewport() { RS::get_singleton()->viewport_set_size(get_viewport_rid(), get_size().width, get_size().height); } - -SubViewport::~SubViewport() {} diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 008aef48a1..e7b295c450 100644 --- a/scene/main/viewport.h +++ b/scene/main/viewport.h @@ -909,7 +909,6 @@ public: void _validate_property(PropertyInfo &p_property) const; SubViewport(); - ~SubViewport(); }; VARIANT_ENUM_CAST(Viewport::Scaling3DMode); VARIANT_ENUM_CAST(SubViewport::UpdateMode); diff --git a/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h b/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h index 10bfb5d121..a7cec971f0 100644 --- a/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h +++ b/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h @@ -108,6 +108,5 @@ public: Rect2 get_bounds(); - NavigationMeshSourceGeometryData2D() {} ~NavigationMeshSourceGeometryData2D() { clear(); } }; diff --git a/scene/resources/2d/navigation_polygon.h b/scene/resources/2d/navigation_polygon.h index e32caa6c6e..1a5f07d940 100644 --- a/scene/resources/2d/navigation_polygon.h +++ b/scene/resources/2d/navigation_polygon.h @@ -167,9 +167,6 @@ public: void set_data(const Vector &p_vertices, const Vector> &p_polygons, const Vector> &p_outlines); void get_data(Vector &r_vertices, Vector> &r_polygons); void get_data(Vector &r_vertices, Vector> &r_polygons, Vector> &r_outlines); - - NavigationPolygon() {} - ~NavigationPolygon() {} }; VARIANT_ENUM_CAST(NavigationPolygon::SamplePartitionType); diff --git a/scene/resources/3d/navigation_mesh_source_geometry_data_3d.h b/scene/resources/3d/navigation_mesh_source_geometry_data_3d.h index dc1daf1081..96eff97595 100644 --- a/scene/resources/3d/navigation_mesh_source_geometry_data_3d.h +++ b/scene/resources/3d/navigation_mesh_source_geometry_data_3d.h @@ -105,6 +105,5 @@ public: AABB get_bounds(); - NavigationMeshSourceGeometryData3D() {} ~NavigationMeshSourceGeometryData3D() { clear(); } }; diff --git a/scene/resources/3d/primitive_meshes.cpp b/scene/resources/3d/primitive_meshes.cpp index c56ae0df6a..f5886a8719 100644 --- a/scene/resources/3d/primitive_meshes.cpp +++ b/scene/resources/3d/primitive_meshes.cpp @@ -689,8 +689,6 @@ int CapsuleMesh::get_rings() const { return rings; } -CapsuleMesh::CapsuleMesh() {} - /** BoxMesh */ @@ -1036,8 +1034,6 @@ int BoxMesh::get_subdivide_depth() const { return subdivide_d; } -BoxMesh::BoxMesh() {} - /** CylinderMesh */ @@ -1395,8 +1391,6 @@ bool CylinderMesh::is_cap_bottom() const { return cap_bottom; } -CylinderMesh::CylinderMesh() {} - /** PlaneMesh */ @@ -1589,8 +1583,6 @@ PlaneMesh::Orientation PlaneMesh::get_orientation() const { return orientation; } -PlaneMesh::PlaneMesh() {} - /** PrismMesh */ @@ -1961,8 +1953,6 @@ int PrismMesh::get_subdivide_depth() const { return subdivide_d; } -PrismMesh::PrismMesh() {} - /** SphereMesh */ @@ -2181,8 +2171,6 @@ bool SphereMesh::get_is_hemisphere() const { return is_hemisphere; } -SphereMesh::SphereMesh() {} - /** TorusMesh */ @@ -2378,8 +2366,6 @@ int TorusMesh::get_ring_segments() const { return ring_segments; } -TorusMesh::TorusMesh() {} - /** PointMesh */ diff --git a/scene/resources/3d/primitive_meshes.h b/scene/resources/3d/primitive_meshes.h index c8262a6d29..fa690091c9 100644 --- a/scene/resources/3d/primitive_meshes.h +++ b/scene/resources/3d/primitive_meshes.h @@ -152,8 +152,6 @@ public: void set_rings(const int p_rings); int get_rings() const; - - CapsuleMesh(); }; /** @@ -188,8 +186,6 @@ public: void set_subdivide_depth(const int p_divisions); int get_subdivide_depth() const; - - BoxMesh(); }; /** @@ -237,8 +233,6 @@ public: void set_cap_bottom(bool p_cap_bottom); bool is_cap_bottom() const; - - CylinderMesh(); }; /* @@ -282,8 +276,6 @@ public: void set_orientation(const Orientation p_orientation); Orientation get_orientation() const; - - PlaneMesh(); }; VARIANT_ENUM_CAST(PlaneMesh::Orientation) @@ -335,8 +327,6 @@ public: void set_subdivide_depth(const int p_divisions); int get_subdivide_depth() const; - - PrismMesh(); }; /** @@ -375,8 +365,6 @@ public: void set_is_hemisphere(const bool p_is_hemisphere); bool get_is_hemisphere() const; - - SphereMesh(); }; /** @@ -409,8 +397,6 @@ public: void set_ring_segments(const int p_ring_segments); int get_ring_segments() const; - - TorusMesh(); }; /** diff --git a/scene/resources/animation.h b/scene/resources/animation.h index e1fb91a794..174fca8d81 100644 --- a/scene/resources/animation.h +++ b/scene/resources/animation.h @@ -112,7 +112,6 @@ public: TypeHash thash = 0; // Hash by Path + SubPath + TrackType. bool imported = false; bool enabled = true; - Track() {} virtual ~Track() {} }; diff --git a/scene/resources/atlas_texture.cpp b/scene/resources/atlas_texture.cpp index c2948ee2e1..d6722d3a8c 100644 --- a/scene/resources/atlas_texture.cpp +++ b/scene/resources/atlas_texture.cpp @@ -253,5 +253,3 @@ Ref AtlasTexture::get_image() const { return atlas_image->get_region(_get_region_rect()); } - -AtlasTexture::AtlasTexture() {} diff --git a/scene/resources/atlas_texture.h b/scene/resources/atlas_texture.h index b709b302b7..7d0243571e 100644 --- a/scene/resources/atlas_texture.h +++ b/scene/resources/atlas_texture.h @@ -73,6 +73,4 @@ public: bool is_pixel_opaque(int p_x, int p_y) const override; virtual Ref get_image() const override; - - AtlasTexture(); }; diff --git a/scene/resources/audio_stream_wav.cpp b/scene/resources/audio_stream_wav.cpp index 9e262eeaae..45d3317be9 100644 --- a/scene/resources/audio_stream_wav.cpp +++ b/scene/resources/audio_stream_wav.cpp @@ -426,10 +426,6 @@ void AudioStreamPlaybackWAV::set_sample_playback(const Ref } } -AudioStreamPlaybackWAV::AudioStreamPlaybackWAV() {} - -AudioStreamPlaybackWAV::~AudioStreamPlaybackWAV() {} - ///////////////////// void AudioStreamWAV::set_format(Format p_format) { @@ -1156,7 +1152,3 @@ void AudioStreamWAV::_bind_methods() { BIND_ENUM_CONSTANT(LOOP_PINGPONG); BIND_ENUM_CONSTANT(LOOP_BACKWARD); } - -AudioStreamWAV::AudioStreamWAV() {} - -AudioStreamWAV::~AudioStreamWAV() {} diff --git a/scene/resources/audio_stream_wav.h b/scene/resources/audio_stream_wav.h index 41055ed9e7..2a00afd6f8 100644 --- a/scene/resources/audio_stream_wav.h +++ b/scene/resources/audio_stream_wav.h @@ -90,9 +90,6 @@ public: virtual bool get_is_sample() const override; virtual Ref get_sample_playback() const override; virtual void set_sample_playback(const Ref &p_playback) override; - - AudioStreamPlaybackWAV(); - ~AudioStreamPlaybackWAV(); }; class AudioStreamWAV : public AudioStream { @@ -287,9 +284,6 @@ public: dst_ptr += qoa_encode_frame(data16.ptr(), p_desc, frame_len, dst_ptr); } } - - AudioStreamWAV(); - ~AudioStreamWAV(); }; VARIANT_ENUM_CAST(AudioStreamWAV::Format) diff --git a/scene/resources/bit_map.cpp b/scene/resources/bit_map.cpp index 85f0839d5d..322dbf5ae6 100644 --- a/scene/resources/bit_map.cpp +++ b/scene/resources/bit_map.cpp @@ -727,5 +727,3 @@ void BitMap::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "data", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_data", "_get_data"); } - -BitMap::BitMap() {} diff --git a/scene/resources/bit_map.h b/scene/resources/bit_map.h index 58ea999b1a..d1300e40e6 100644 --- a/scene/resources/bit_map.h +++ b/scene/resources/bit_map.h @@ -76,6 +76,4 @@ public: Ref convert_to_image() const; Vector> clip_opaque_to_polygons(const Rect2i &p_rect, float p_epsilon = 2.0) const; - - BitMap(); }; diff --git a/scene/resources/compressed_texture.cpp b/scene/resources/compressed_texture.cpp index 0a5f1f1667..c09525ee1e 100644 --- a/scene/resources/compressed_texture.cpp +++ b/scene/resources/compressed_texture.cpp @@ -457,8 +457,6 @@ void CompressedTexture2D::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::STRING, "load_path", PROPERTY_HINT_FILE, "*.ctex"), "load", "get_load_path"); } -CompressedTexture2D::CompressedTexture2D() {} - CompressedTexture2D::~CompressedTexture2D() { if (texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); @@ -646,8 +644,6 @@ void CompressedTexture3D::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::STRING, "load_path", PROPERTY_HINT_FILE, "*.ctex"), "load", "get_load_path"); } -CompressedTexture3D::CompressedTexture3D() {} - CompressedTexture3D::~CompressedTexture3D() { if (texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); diff --git a/scene/resources/compressed_texture.h b/scene/resources/compressed_texture.h index 2bec56308c..506e316f11 100644 --- a/scene/resources/compressed_texture.h +++ b/scene/resources/compressed_texture.h @@ -107,7 +107,6 @@ public: virtual Ref get_image() const override; - CompressedTexture2D(); ~CompressedTexture2D(); }; @@ -258,7 +257,6 @@ public: virtual Vector> get_data() const override; - CompressedTexture3D(); ~CompressedTexture3D(); }; diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp index 3603afc839..668a2a25cb 100644 --- a/scene/resources/curve.cpp +++ b/scene/resources/curve.cpp @@ -1434,8 +1434,6 @@ void Curve2D::_bind_methods() { ADD_ARRAY_COUNT("Points", "point_count", "set_point_count", "get_point_count", "point_"); } -Curve2D::Curve2D() {} - /***********************************************************************************/ /***********************************************************************************/ /***********************************************************************************/ @@ -2514,5 +2512,3 @@ void Curve3D::_bind_methods() { ADD_GROUP("Up Vector", "up_vector_"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "up_vector_enabled"), "set_up_vector_enabled", "is_up_vector_enabled"); } - -Curve3D::Curve3D() {} diff --git a/scene/resources/curve.h b/scene/resources/curve.h index c4748ba9bd..f8574a2c75 100644 --- a/scene/resources/curve.h +++ b/scene/resources/curve.h @@ -251,8 +251,6 @@ public: PackedVector2Array tessellate(int p_max_stages = 5, real_t p_tolerance = 4) const; //useful for display PackedVector2Array tessellate_even_length(int p_max_stages = 5, real_t p_length = 20.0) const; // Useful for baking. - - Curve2D(); }; class Curve3D : public Resource { @@ -360,6 +358,4 @@ public: PackedVector3Array tessellate(int p_max_stages = 5, real_t p_tolerance = 4) const; // Useful for display. PackedVector3Array tessellate_even_length(int p_max_stages = 5, real_t p_length = 0.2) const; // Useful for baking. - - Curve3D(); }; diff --git a/scene/resources/curve_texture.cpp b/scene/resources/curve_texture.cpp index 4ba5393110..30c9580217 100644 --- a/scene/resources/curve_texture.cpp +++ b/scene/resources/curve_texture.cpp @@ -163,8 +163,6 @@ RID CurveTexture::get_rid() const { return _texture; } -CurveTexture::CurveTexture() {} - CurveTexture::~CurveTexture() { if (_texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); @@ -360,8 +358,6 @@ RID CurveXYZTexture::get_rid() const { return _texture; } -CurveXYZTexture::CurveXYZTexture() {} - CurveXYZTexture::~CurveXYZTexture() { if (_texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); diff --git a/scene/resources/curve_texture.h b/scene/resources/curve_texture.h index c8c7cb997d..c1d3c6e9bc 100644 --- a/scene/resources/curve_texture.h +++ b/scene/resources/curve_texture.h @@ -71,7 +71,6 @@ public: virtual int get_height() const override { return 1; } virtual bool has_alpha() const override { return false; } - CurveTexture(); ~CurveTexture(); }; @@ -114,6 +113,5 @@ public: virtual int get_height() const override { return 1; } virtual bool has_alpha() const override { return false; } - CurveXYZTexture(); ~CurveXYZTexture(); }; diff --git a/scene/resources/image_texture.cpp b/scene/resources/image_texture.cpp index b92f381f75..02cb8c277c 100644 --- a/scene/resources/image_texture.cpp +++ b/scene/resources/image_texture.cpp @@ -234,8 +234,6 @@ void ImageTexture::_bind_methods() { ClassDB::bind_method(D_METHOD("set_size_override", "size"), &ImageTexture::set_size_override); } -ImageTexture::ImageTexture() {} - ImageTexture::~ImageTexture() { if (texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); diff --git a/scene/resources/image_texture.h b/scene/resources/image_texture.h index 920650bbf7..fba542f9b8 100644 --- a/scene/resources/image_texture.h +++ b/scene/resources/image_texture.h @@ -81,7 +81,6 @@ public: virtual void set_path(const String &p_path, bool p_take_over = false) override; - ImageTexture(); ~ImageTexture(); }; diff --git a/scene/resources/navigation_mesh.h b/scene/resources/navigation_mesh.h index e6936aab2a..f19c1dfc76 100644 --- a/scene/resources/navigation_mesh.h +++ b/scene/resources/navigation_mesh.h @@ -202,9 +202,6 @@ public: #ifdef DEBUG_ENABLED Ref get_debug_mesh(); #endif // DEBUG_ENABLED - - NavigationMesh() {} - ~NavigationMesh() {} }; VARIANT_ENUM_CAST(NavigationMesh::SamplePartitionType); diff --git a/scene/resources/physics_material.h b/scene/resources/physics_material.h index 1383def3fe..7fe7e477fe 100644 --- a/scene/resources/physics_material.h +++ b/scene/resources/physics_material.h @@ -66,7 +66,5 @@ public: _FORCE_INLINE_ real_t computed_bounce() const { return absorbent ? -bounce : bounce; } - - PhysicsMaterial() {} }; #endif // !defined(PHYSICS_2D_DISABLED) || !defined(PHYSICS_3D_DISABLED) diff --git a/scene/resources/portable_compressed_texture.cpp b/scene/resources/portable_compressed_texture.cpp index 2259148a53..c58af3e22c 100644 --- a/scene/resources/portable_compressed_texture.cpp +++ b/scene/resources/portable_compressed_texture.cpp @@ -397,8 +397,6 @@ void PortableCompressedTexture2D::_bind_methods() { BIND_ENUM_CONSTANT(COMPRESSION_MODE_ASTC); } -PortableCompressedTexture2D::PortableCompressedTexture2D() {} - PortableCompressedTexture2D::~PortableCompressedTexture2D() { if (texture.is_valid()) { ERR_FAIL_NULL(RenderingServer::get_singleton()); diff --git a/scene/resources/portable_compressed_texture.h b/scene/resources/portable_compressed_texture.h index 777b6d7430..af4e192b8c 100644 --- a/scene/resources/portable_compressed_texture.h +++ b/scene/resources/portable_compressed_texture.h @@ -113,7 +113,6 @@ public: static void set_keep_all_compressed_buffers(bool p_keep); static bool is_keeping_all_compressed_buffers(); - PortableCompressedTexture2D(); ~PortableCompressedTexture2D(); }; diff --git a/scene/resources/style_box.h b/scene/resources/style_box.h index 7639d13978..79796f0c3e 100644 --- a/scene/resources/style_box.h +++ b/scene/resources/style_box.h @@ -78,5 +78,4 @@ class StyleBoxEmpty : public StyleBox { public: virtual void draw(RID p_canvas_item, const Rect2 &p_rect) const override {} - StyleBoxEmpty() {} }; diff --git a/scene/resources/style_box_flat.cpp b/scene/resources/style_box_flat.cpp index ff8cdfdea4..2a37c20e5d 100644 --- a/scene/resources/style_box_flat.cpp +++ b/scene/resources/style_box_flat.cpp @@ -731,7 +731,3 @@ void StyleBoxFlat::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::BOOL, "anti_aliasing"), "set_anti_aliased", "is_anti_aliased"); ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "anti_aliasing_size", PROPERTY_HINT_RANGE, "0.01,10,0.001,suffix:px"), "set_aa_size", "get_aa_size"); } - -StyleBoxFlat::StyleBoxFlat() {} - -StyleBoxFlat::~StyleBoxFlat() {} diff --git a/scene/resources/style_box_flat.h b/scene/resources/style_box_flat.h index 65c7cc9826..7bb29937c6 100644 --- a/scene/resources/style_box_flat.h +++ b/scene/resources/style_box_flat.h @@ -109,7 +109,4 @@ public: virtual Rect2 get_draw_rect(const Rect2 &p_rect) const override; virtual void draw(RID p_canvas_item, const Rect2 &p_rect) const override; - - StyleBoxFlat(); - ~StyleBoxFlat(); }; diff --git a/scene/resources/style_box_line.cpp b/scene/resources/style_box_line.cpp index 9aeba88531..3016502bba 100644 --- a/scene/resources/style_box_line.cpp +++ b/scene/resources/style_box_line.cpp @@ -126,7 +126,3 @@ void StyleBoxLine::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::INT, "thickness", PROPERTY_HINT_RANGE, "0,100,suffix:px"), "set_thickness", "get_thickness"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "vertical"), "set_vertical", "is_vertical"); } - -StyleBoxLine::StyleBoxLine() {} - -StyleBoxLine::~StyleBoxLine() {} diff --git a/scene/resources/style_box_line.h b/scene/resources/style_box_line.h index afaaa52681..2086a62628 100644 --- a/scene/resources/style_box_line.h +++ b/scene/resources/style_box_line.h @@ -61,7 +61,4 @@ public: float get_grow_end() const; virtual void draw(RID p_canvas_item, const Rect2 &p_rect) const override; - - StyleBoxLine(); - ~StyleBoxLine(); }; diff --git a/scene/resources/style_box_texture.cpp b/scene/resources/style_box_texture.cpp index 156525d21c..154254b476 100644 --- a/scene/resources/style_box_texture.cpp +++ b/scene/resources/style_box_texture.cpp @@ -237,7 +237,3 @@ void StyleBoxTexture::_bind_methods() { BIND_ENUM_CONSTANT(AXIS_STRETCH_MODE_TILE); BIND_ENUM_CONSTANT(AXIS_STRETCH_MODE_TILE_FIT); } - -StyleBoxTexture::StyleBoxTexture() {} - -StyleBoxTexture::~StyleBoxTexture() {} diff --git a/scene/resources/style_box_texture.h b/scene/resources/style_box_texture.h index bc15a8f021..63baffe33c 100644 --- a/scene/resources/style_box_texture.h +++ b/scene/resources/style_box_texture.h @@ -88,9 +88,6 @@ public: virtual Rect2 get_draw_rect(const Rect2 &p_rect) const override; virtual void draw(RID p_canvas_item, const Rect2 &p_rect) const override; - - StyleBoxTexture(); - ~StyleBoxTexture(); }; VARIANT_ENUM_CAST(StyleBoxTexture::AxisStretchMode) diff --git a/scene/resources/surface_tool.h b/scene/resources/surface_tool.h index 379c58d4e4..fa8c559152 100644 --- a/scene/resources/surface_tool.h +++ b/scene/resources/surface_tool.h @@ -61,8 +61,6 @@ public: Vector weights; bool operator==(const Vertex &p_vertex) const; - - Vertex() {} }; enum CustomFormat { diff --git a/scene/resources/syntax_highlighter.h b/scene/resources/syntax_highlighter.h index b370058d7c..b3db164b01 100644 --- a/scene/resources/syntax_highlighter.h +++ b/scene/resources/syntax_highlighter.h @@ -64,7 +64,6 @@ public: void set_text_edit(TextEdit *p_text_edit); TextEdit *get_text_edit() const; - SyntaxHighlighter() {} virtual ~SyntaxHighlighter() {} }; diff --git a/scene/resources/texture.h b/scene/resources/texture.h index 23ae7c31cd..09daacdfd7 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -39,9 +39,6 @@ class Texture : public Resource { GDCLASS(Texture, Resource); - -public: - Texture() {} }; class Texture2D : public Texture { @@ -108,8 +105,6 @@ public: virtual int get_layers() const; virtual bool has_mipmaps() const; virtual Ref get_layer_data(int p_layer) const; - - TextureLayered() {} }; VARIANT_ENUM_CAST(TextureLayered::LayeredType) diff --git a/scene/resources/visual_shader.h b/scene/resources/visual_shader.h index c300867c5f..48120a3565 100644 --- a/scene/resources/visual_shader.h +++ b/scene/resources/visual_shader.h @@ -795,8 +795,6 @@ public: void set_description(const String &p_description); String get_description() const; - - VisualShaderNodeComment() {} }; #endif diff --git a/scene/theme/theme_owner.h b/scene/theme/theme_owner.h index a359944806..4d7b0e0981 100644 --- a/scene/theme/theme_owner.h +++ b/scene/theme/theme_owner.h @@ -78,5 +78,4 @@ public: int get_theme_default_font_size(); ThemeOwner(Node *p_holder) { holder = p_holder; } - ~ThemeOwner() {} };