From 76d2278fc6ef2d5b3c95240d3d0b5e9c905dea29 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Wed, 22 Jan 2025 16:36:29 +0100 Subject: [PATCH] =?UTF-8?q?try=20removing=20`RR=5FWITH=5FMAYBE=5FUNINITIAL?= =?UTF-8?q?IZED=5FDISABLED`=20from=20builder=20methods=20=F0=9F=A4=9E?= =?UTF-8?q?=F0=9F=A4=9E=F0=9F=A4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../re_types_builder/src/codegen/cpp/mod.rs | 8 +-- .../rerun/archetypes/annotation_context.hpp | 4 +- rerun_cpp/src/rerun/archetypes/arrows2d.hpp | 25 +++---- rerun_cpp/src/rerun/archetypes/arrows3d.hpp | 22 ++---- rerun_cpp/src/rerun/archetypes/asset3d.hpp | 10 +-- .../src/rerun/archetypes/asset_video.hpp | 7 +- rerun_cpp/src/rerun/archetypes/bar_chart.hpp | 7 +- rerun_cpp/src/rerun/archetypes/boxes2d.hpp | 25 +++---- rerun_cpp/src/rerun/archetypes/boxes3d.hpp | 31 +++------ rerun_cpp/src/rerun/archetypes/capsules3d.hpp | 28 +++----- rerun_cpp/src/rerun/archetypes/clear.hpp | 4 +- .../src/rerun/archetypes/depth_image.hpp | 22 ++---- .../src/rerun/archetypes/ellipsoids3d.hpp | 31 +++------ .../src/rerun/archetypes/encoded_image.hpp | 13 ++-- .../src/rerun/archetypes/geo_line_strings.hpp | 10 +-- rerun_cpp/src/rerun/archetypes/geo_points.hpp | 13 ++-- .../src/rerun/archetypes/graph_edges.hpp | 7 +- .../src/rerun/archetypes/graph_nodes.hpp | 19 ++---- rerun_cpp/src/rerun/archetypes/image.hpp | 13 ++-- .../src/rerun/archetypes/instance_poses3d.hpp | 16 ++--- .../src/rerun/archetypes/line_strips2d.hpp | 22 ++---- .../src/rerun/archetypes/line_strips3d.hpp | 19 ++---- rerun_cpp/src/rerun/archetypes/mesh3d.hpp | 28 +++----- rerun_cpp/src/rerun/archetypes/pinhole.hpp | 13 ++-- rerun_cpp/src/rerun/archetypes/points2d.hpp | 25 +++---- rerun_cpp/src/rerun/archetypes/points3d.hpp | 22 ++---- rerun_cpp/src/rerun/archetypes/scalar.hpp | 4 +- .../rerun/archetypes/segmentation_image.hpp | 13 ++-- .../src/rerun/archetypes/series_line.hpp | 13 ++-- .../src/rerun/archetypes/series_point.hpp | 13 ++-- rerun_cpp/src/rerun/archetypes/tensor.hpp | 7 +- .../src/rerun/archetypes/text_document.hpp | 7 +- rerun_cpp/src/rerun/archetypes/text_log.hpp | 10 +-- .../src/rerun/archetypes/transform3d.hpp | 21 ++---- .../archetypes/video_frame_reference.hpp | 7 +- .../src/rerun/archetypes/view_coordinates.hpp | 4 +- .../rerun/blueprint/archetypes/background.hpp | 7 +- .../archetypes/container_blueprint.hpp | 25 +++---- .../blueprint/archetypes/dataframe_query.hpp | 16 ++--- .../blueprint/archetypes/force_center.hpp | 7 +- .../archetypes/force_collision_radius.hpp | 10 +-- .../rerun/blueprint/archetypes/force_link.hpp | 10 +-- .../blueprint/archetypes/force_many_body.hpp | 7 +- .../blueprint/archetypes/force_position.hpp | 10 +-- .../blueprint/archetypes/line_grid3d.hpp | 16 ++--- .../blueprint/archetypes/map_background.hpp | 4 +- .../rerun/blueprint/archetypes/map_zoom.hpp | 4 +- .../blueprint/archetypes/near_clip_plane.hpp | 4 +- .../blueprint/archetypes/panel_blueprint.hpp | 4 +- .../blueprint/archetypes/plot_legend.hpp | 7 +- .../blueprint/archetypes/scalar_axis.hpp | 7 +- .../archetypes/tensor_scalar_mapping.hpp | 10 +-- .../archetypes/tensor_slice_selection.hpp | 13 ++-- .../blueprint/archetypes/tensor_view_fit.hpp | 4 +- .../blueprint/archetypes/view_blueprint.hpp | 13 ++-- .../blueprint/archetypes/view_contents.hpp | 4 +- .../archetypes/viewport_blueprint.hpp | 16 ++--- .../archetypes/visible_time_ranges.hpp | 4 +- .../blueprint/archetypes/visual_bounds2d.hpp | 4 +- .../generated/archetypes/affix_fuzzer1.hpp | 67 ++++++------------- .../generated/archetypes/affix_fuzzer2.hpp | 58 ++++++---------- .../generated/archetypes/affix_fuzzer3.hpp | 55 +++++---------- .../generated/archetypes/affix_fuzzer4.hpp | 55 +++++---------- 63 files changed, 306 insertions(+), 678 deletions(-) diff --git a/crates/build/re_types_builder/src/codegen/cpp/mod.rs b/crates/build/re_types_builder/src/codegen/cpp/mod.rs index e862d2bfe8f5..d8b85f7b371c 100644 --- a/crates/build/re_types_builder/src/codegen/cpp/mod.rs +++ b/crates/build/re_types_builder/src/codegen/cpp/mod.rs @@ -587,11 +587,6 @@ impl QuotedObject { let field_type = quote_archetype_unserialized_type(&mut hpp_includes, obj_field); let descriptor = archetype_component_descriptor_constant_ident(obj_field); - // TODO: Haven't tested this again since introducing eager serialization. - hpp_includes.insert_rerun("compiler_utils.hpp"); - let gcc_ignore_comment = - quote_comment("See: https://github.com/rerun-io/rerun/issues/4027"); - methods.push(Method { docs: obj_field.docs.clone().into(), declaration: MethodDeclaration { @@ -604,8 +599,7 @@ impl QuotedObject { definition_body: quote! { #field_ident = ComponentBatch::from_loggable(#parameter_ident, #descriptor).value_or_throw(); #NEWLINE_TOKEN - #gcc_ignore_comment - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); }, inline: true, }); diff --git a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp index 7918f8ea11b0..4d42cf673a6b 100644 --- a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp +++ b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/annotation_context.hpp" #include "../indicator_component.hpp" @@ -105,8 +104,7 @@ namespace rerun::archetypes { /// List of class descriptions, mapping class indices to class names, colors etc. AnnotationContext with_context(const rerun::components::AnnotationContext& _context) && { context = ComponentBatch::from_loggable(_context, Descriptor_context).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/arrows2d.hpp b/rerun_cpp/src/rerun/archetypes/arrows2d.hpp index edef0d924bc4..1bf583ecdfe0 100644 --- a/rerun_cpp/src/rerun/archetypes/arrows2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/arrows2d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -156,8 +155,7 @@ namespace rerun::archetypes { /// All the vectors for each arrow in the batch. Arrows2D with_vectors(const Collection& _vectors) && { vectors = ComponentBatch::from_loggable(_vectors, Descriptor_vectors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// All the origin (base) positions for each arrow in the batch. @@ -165,8 +163,7 @@ namespace rerun::archetypes { /// If no origins are set, (0, 0) is used as the origin for each arrow. Arrows2D with_origins(const Collection& _origins) && { origins = ComponentBatch::from_loggable(_origins, Descriptor_origins).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the arrows. @@ -175,15 +172,13 @@ namespace rerun::archetypes { /// The tip is rendered with `height = 2.0 * radius` and `radius = 1.0 * radius`. Arrows2D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the points. Arrows2D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the arrows. @@ -192,16 +187,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Arrows2D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Arrows2D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -210,8 +203,7 @@ namespace rerun::archetypes { Arrows2D with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the points. @@ -220,8 +212,7 @@ namespace rerun::archetypes { Arrows2D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/arrows3d.hpp b/rerun_cpp/src/rerun/archetypes/arrows3d.hpp index ee3cb51172d2..046b078bc5d5 100644 --- a/rerun_cpp/src/rerun/archetypes/arrows3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/arrows3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -162,8 +161,7 @@ namespace rerun::archetypes { /// All the vectors for each arrow in the batch. Arrows3D with_vectors(const Collection& _vectors) && { vectors = ComponentBatch::from_loggable(_vectors, Descriptor_vectors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// All the origin (base) positions for each arrow in the batch. @@ -171,8 +169,7 @@ namespace rerun::archetypes { /// If no origins are set, (0, 0, 0) is used as the origin for each arrow. Arrows3D with_origins(const Collection& _origins) && { origins = ComponentBatch::from_loggable(_origins, Descriptor_origins).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the arrows. @@ -181,15 +178,13 @@ namespace rerun::archetypes { /// The tip is rendered with `height = 2.0 * radius` and `radius = 1.0 * radius`. Arrows3D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the points. Arrows3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the arrows. @@ -198,16 +193,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Arrows3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Arrows3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the points. @@ -216,8 +209,7 @@ namespace rerun::archetypes { Arrows3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/asset3d.hpp b/rerun_cpp/src/rerun/archetypes/asset3d.hpp index 3358aee18265..dd56ca28522f 100644 --- a/rerun_cpp/src/rerun/archetypes/asset3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/asset3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/albedo_factor.hpp" #include "../components/blob.hpp" @@ -145,8 +144,7 @@ namespace rerun::archetypes { /// The asset's bytes. Asset3D with_blob(const rerun::components::Blob& _blob) && { blob = ComponentBatch::from_loggable(_blob, Descriptor_blob).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The Media Type of the asset. @@ -162,8 +160,7 @@ namespace rerun::archetypes { Asset3D with_media_type(const rerun::components::MediaType& _media_type) && { media_type = ComponentBatch::from_loggable(_media_type, Descriptor_media_type).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// A color multiplier applied to the whole asset. @@ -173,8 +170,7 @@ namespace rerun::archetypes { Asset3D with_albedo_factor(const rerun::components::AlbedoFactor& _albedo_factor) && { albedo_factor = ComponentBatch::from_loggable(_albedo_factor, Descriptor_albedo_factor) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/asset_video.hpp b/rerun_cpp/src/rerun/archetypes/asset_video.hpp index f54090087784..d1dbc3725d07 100644 --- a/rerun_cpp/src/rerun/archetypes/asset_video.hpp +++ b/rerun_cpp/src/rerun/archetypes/asset_video.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/blob.hpp" #include "../components/media_type.hpp" @@ -201,8 +200,7 @@ namespace rerun::archetypes { /// The asset's bytes. AssetVideo with_blob(const rerun::components::Blob& _blob) && { blob = ComponentBatch::from_loggable(_blob, Descriptor_blob).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The Media Type of the asset. @@ -215,8 +213,7 @@ namespace rerun::archetypes { AssetVideo with_media_type(const rerun::components::MediaType& _media_type) && { media_type = ComponentBatch::from_loggable(_media_type, Descriptor_media_type).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/bar_chart.hpp b/rerun_cpp/src/rerun/archetypes/bar_chart.hpp index abfa24b45ec4..183769acb8f4 100644 --- a/rerun_cpp/src/rerun/archetypes/bar_chart.hpp +++ b/rerun_cpp/src/rerun/archetypes/bar_chart.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/color.hpp" #include "../components/tensor_data.hpp" @@ -201,15 +200,13 @@ namespace rerun::archetypes { /// The values. Should always be a 1-dimensional tensor (i.e. a vector). BarChart with_values(const rerun::components::TensorData& _values) && { values = ComponentBatch::from_loggable(_values, Descriptor_values).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The color of the bar chart BarChart with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/boxes2d.hpp b/rerun_cpp/src/rerun/archetypes/boxes2d.hpp index ce5a51517441..ced5cd2a00b6 100644 --- a/rerun_cpp/src/rerun/archetypes/boxes2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/boxes2d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -183,29 +182,25 @@ namespace rerun::archetypes { Boxes2D with_half_sizes(const Collection& _half_sizes) && { half_sizes = ComponentBatch::from_loggable(_half_sizes, Descriptor_half_sizes).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional center positions of the boxes. Boxes2D with_centers(const Collection& _centers) && { centers = ComponentBatch::from_loggable(_centers, Descriptor_centers).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the boxes. Boxes2D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the lines that make up the boxes. Boxes2D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the boxes. @@ -214,16 +209,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Boxes2D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Boxes2D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -234,8 +227,7 @@ namespace rerun::archetypes { Boxes2D with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional `components::ClassId`s for the boxes. @@ -244,8 +236,7 @@ namespace rerun::archetypes { Boxes2D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/boxes3d.hpp b/rerun_cpp/src/rerun/archetypes/boxes3d.hpp index 480002aef969..5b46d4b1ee69 100644 --- a/rerun_cpp/src/rerun/archetypes/boxes3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/boxes3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -233,8 +232,7 @@ namespace rerun::archetypes { Boxes3D with_half_sizes(const Collection& _half_sizes) && { half_sizes = ComponentBatch::from_loggable(_half_sizes, Descriptor_half_sizes).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional center positions of the boxes. @@ -243,8 +241,7 @@ namespace rerun::archetypes { /// Note that this uses a `components::PoseTranslation3D` which is also used by `archetypes::InstancePoses3D`. Boxes3D with_centers(const Collection& _centers) && { centers = ComponentBatch::from_loggable(_centers, Descriptor_centers).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via axis + angle. @@ -259,8 +256,7 @@ namespace rerun::archetypes { Descriptor_rotation_axis_angles ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via quaternion. @@ -271,30 +267,26 @@ namespace rerun::archetypes { ) && { quaternions = ComponentBatch::from_loggable(_quaternions, Descriptor_quaternions) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the boxes. Boxes3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the lines that make up the boxes. Boxes3D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optionally choose whether the boxes are drawn with lines or solid. Boxes3D with_fill_mode(const rerun::components::FillMode& _fill_mode) && { fill_mode = ComponentBatch::from_loggable(_fill_mode, Descriptor_fill_mode).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the boxes. @@ -303,16 +295,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Boxes3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Boxes3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional `components::ClassId`s for the boxes. @@ -321,8 +311,7 @@ namespace rerun::archetypes { Boxes3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/capsules3d.hpp b/rerun_cpp/src/rerun/archetypes/capsules3d.hpp index a9ad9b8f8216..70864fd15188 100644 --- a/rerun_cpp/src/rerun/archetypes/capsules3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/capsules3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -211,15 +210,13 @@ namespace rerun::archetypes { /// Lengths of the capsules, defined as the distance between the centers of the endcaps. Capsules3D with_lengths(const Collection& _lengths) && { lengths = ComponentBatch::from_loggable(_lengths, Descriptor_lengths).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Radii of the capsules. Capsules3D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional translations of the capsules. @@ -231,8 +228,7 @@ namespace rerun::archetypes { ) && { translations = ComponentBatch::from_loggable(_translations, Descriptor_translations) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via axis + angle. @@ -247,8 +243,7 @@ namespace rerun::archetypes { Descriptor_rotation_axis_angles ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via quaternion. @@ -260,30 +255,26 @@ namespace rerun::archetypes { ) && { quaternions = ComponentBatch::from_loggable(_quaternions, Descriptor_quaternions) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the capsules. Capsules3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the capsules, which will be located at their centers. Capsules3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Capsules3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class ID for the ellipsoids. @@ -292,8 +283,7 @@ namespace rerun::archetypes { Capsules3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/clear.hpp b/rerun_cpp/src/rerun/archetypes/clear.hpp index 244846023d21..c11e5214e46e 100644 --- a/rerun_cpp/src/rerun/archetypes/clear.hpp +++ b/rerun_cpp/src/rerun/archetypes/clear.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/clear_is_recursive.hpp" #include "../indicator_component.hpp" @@ -132,8 +131,7 @@ namespace rerun::archetypes { Clear with_is_recursive(const rerun::components::ClearIsRecursive& _is_recursive) && { is_recursive = ComponentBatch::from_loggable(_is_recursive, Descriptor_is_recursive) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/depth_image.hpp b/rerun_cpp/src/rerun/archetypes/depth_image.hpp index 170d483a881b..98d595c56ac0 100644 --- a/rerun_cpp/src/rerun/archetypes/depth_image.hpp +++ b/rerun_cpp/src/rerun/archetypes/depth_image.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/colormap.hpp" #include "../components/depth_meter.hpp" @@ -246,15 +245,13 @@ namespace rerun::archetypes { /// The raw depth image data. DepthImage with_buffer(const rerun::components::ImageBuffer& _buffer) && { buffer = ComponentBatch::from_loggable(_buffer, Descriptor_buffer).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The format of the image. DepthImage with_format(const rerun::components::ImageFormat& _format) && { format = ComponentBatch::from_loggable(_format, Descriptor_format).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies how long a meter is in the native depth units. @@ -266,8 +263,7 @@ namespace rerun::archetypes { /// In 3D views on the other hand, this affects where the points of the point cloud are placed. DepthImage with_meter(const rerun::components::DepthMeter& _meter) && { meter = ComponentBatch::from_loggable(_meter, Descriptor_meter).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Colormap to use for rendering the depth image. @@ -276,8 +272,7 @@ namespace rerun::archetypes { DepthImage with_colormap(const rerun::components::Colormap& _colormap) && { colormap = ComponentBatch::from_loggable(_colormap, Descriptor_colormap).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The expected range of depth values. @@ -294,8 +289,7 @@ namespace rerun::archetypes { DepthImage with_depth_range(const rerun::components::ValueRange& _depth_range) && { depth_range = ComponentBatch::from_loggable(_depth_range, Descriptor_depth_range) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Scale the radii of the points in the point cloud generated from this image. @@ -309,8 +303,7 @@ namespace rerun::archetypes { point_fill_ratio = ComponentBatch::from_loggable(_point_fill_ratio, Descriptor_point_fill_ratio) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order, used only if the depth image is shown as a 2D image. @@ -319,8 +312,7 @@ namespace rerun::archetypes { DepthImage with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/ellipsoids3d.hpp b/rerun_cpp/src/rerun/archetypes/ellipsoids3d.hpp index d6ccf07ca82b..efc9c5f60e33 100644 --- a/rerun_cpp/src/rerun/archetypes/ellipsoids3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/ellipsoids3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -244,8 +243,7 @@ namespace rerun::archetypes { ) && { half_sizes = ComponentBatch::from_loggable(_half_sizes, Descriptor_half_sizes).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional center positions of the ellipsoids. @@ -255,8 +253,7 @@ namespace rerun::archetypes { Ellipsoids3D with_centers(const Collection& _centers ) && { centers = ComponentBatch::from_loggable(_centers, Descriptor_centers).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via axis + angle. @@ -271,8 +268,7 @@ namespace rerun::archetypes { Descriptor_rotation_axis_angles ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via quaternion. @@ -284,46 +280,40 @@ namespace rerun::archetypes { ) && { quaternions = ComponentBatch::from_loggable(_quaternions, Descriptor_quaternions) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the ellipsoids. Ellipsoids3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the lines used when the ellipsoid is rendered as a wireframe. Ellipsoids3D with_line_radii(const Collection& _line_radii) && { line_radii = ComponentBatch::from_loggable(_line_radii, Descriptor_line_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optionally choose whether the ellipsoids are drawn with lines or solid. Ellipsoids3D with_fill_mode(const rerun::components::FillMode& _fill_mode) && { fill_mode = ComponentBatch::from_loggable(_fill_mode, Descriptor_fill_mode).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the ellipsoids. Ellipsoids3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Ellipsoids3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class ID for the ellipsoids. @@ -332,8 +322,7 @@ namespace rerun::archetypes { Ellipsoids3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/encoded_image.hpp b/rerun_cpp/src/rerun/archetypes/encoded_image.hpp index 77bc4751054f..7364c19679a9 100644 --- a/rerun_cpp/src/rerun/archetypes/encoded_image.hpp +++ b/rerun_cpp/src/rerun/archetypes/encoded_image.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/blob.hpp" #include "../components/draw_order.hpp" @@ -139,8 +138,7 @@ namespace rerun::archetypes { /// The encoded content of some image file, e.g. a PNG or JPEG. EncodedImage with_blob(const rerun::components::Blob& _blob) && { blob = ComponentBatch::from_loggable(_blob, Descriptor_blob).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The Media Type of the asset. @@ -154,8 +152,7 @@ namespace rerun::archetypes { EncodedImage with_media_type(const rerun::components::MediaType& _media_type) && { media_type = ComponentBatch::from_loggable(_media_type, Descriptor_media_type).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Opacity of the image, useful for layering several images. @@ -163,8 +160,7 @@ namespace rerun::archetypes { /// Defaults to 1.0 (fully opaque). EncodedImage with_opacity(const rerun::components::Opacity& _opacity) && { opacity = ComponentBatch::from_loggable(_opacity, Descriptor_opacity).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -173,8 +169,7 @@ namespace rerun::archetypes { EncodedImage with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/geo_line_strings.hpp b/rerun_cpp/src/rerun/archetypes/geo_line_strings.hpp index 6551a2aa858d..bd71dee6e1ad 100644 --- a/rerun_cpp/src/rerun/archetypes/geo_line_strings.hpp +++ b/rerun_cpp/src/rerun/archetypes/geo_line_strings.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/color.hpp" #include "../components/geo_line_string.hpp" @@ -113,8 +112,7 @@ namespace rerun::archetypes { ) && { line_strings = ComponentBatch::from_loggable(_line_strings, Descriptor_line_strings) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the line strings. @@ -123,15 +121,13 @@ namespace rerun::archetypes { /// the first vertex of each line string (see [this issue](https://github.com/rerun-io/rerun/issues/8013)). GeoLineStrings with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the line strings. GeoLineStrings with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/geo_points.hpp b/rerun_cpp/src/rerun/archetypes/geo_points.hpp index 5e049a3a1515..432ce21c6d20 100644 --- a/rerun_cpp/src/rerun/archetypes/geo_points.hpp +++ b/rerun_cpp/src/rerun/archetypes/geo_points.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -117,8 +116,7 @@ namespace rerun::archetypes { GeoPoints with_positions(const Collection& _positions) && { positions = ComponentBatch::from_loggable(_positions, Descriptor_positions).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the points, effectively turning them into circles. @@ -126,15 +124,13 @@ namespace rerun::archetypes { /// *Note*: scene units radiii are interpreted as meters. GeoPoints with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the points. GeoPoints with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the points. @@ -143,8 +139,7 @@ namespace rerun::archetypes { GeoPoints with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/graph_edges.hpp b/rerun_cpp/src/rerun/archetypes/graph_edges.hpp index 89735f21aa02..4e7c1a0daa70 100644 --- a/rerun_cpp/src/rerun/archetypes/graph_edges.hpp +++ b/rerun_cpp/src/rerun/archetypes/graph_edges.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/graph_edge.hpp" #include "../components/graph_type.hpp" @@ -95,8 +94,7 @@ namespace rerun::archetypes { /// A list of node tuples. GraphEdges with_edges(const Collection& _edges) && { edges = ComponentBatch::from_loggable(_edges, Descriptor_edges).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Specifies if the graph is directed or undirected. @@ -105,8 +103,7 @@ namespace rerun::archetypes { GraphEdges with_graph_type(const rerun::components::GraphType& _graph_type) && { graph_type = ComponentBatch::from_loggable(_graph_type, Descriptor_graph_type).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/graph_nodes.hpp b/rerun_cpp/src/rerun/archetypes/graph_nodes.hpp index ce0b03b9ca23..f154e8bf7337 100644 --- a/rerun_cpp/src/rerun/archetypes/graph_nodes.hpp +++ b/rerun_cpp/src/rerun/archetypes/graph_nodes.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/color.hpp" #include "../components/graph_node.hpp" @@ -125,45 +124,39 @@ namespace rerun::archetypes { GraphNodes with_node_ids(const Collection& _node_ids) && { node_ids = ComponentBatch::from_loggable(_node_ids, Descriptor_node_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional center positions of the nodes. GraphNodes with_positions(const Collection& _positions) && { positions = ComponentBatch::from_loggable(_positions, Descriptor_positions).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the boxes. GraphNodes with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the node. GraphNodes with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. GraphNodes with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for nodes. GraphNodes with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/image.hpp b/rerun_cpp/src/rerun/archetypes/image.hpp index a6646f0b4e47..d36818c6f3cb 100644 --- a/rerun_cpp/src/rerun/archetypes/image.hpp +++ b/rerun_cpp/src/rerun/archetypes/image.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/draw_order.hpp" #include "../components/image_buffer.hpp" @@ -336,15 +335,13 @@ namespace rerun::archetypes { /// The raw image data. Image with_buffer(const rerun::components::ImageBuffer& _buffer) && { buffer = ComponentBatch::from_loggable(_buffer, Descriptor_buffer).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The format of the image. Image with_format(const rerun::components::ImageFormat& _format) && { format = ComponentBatch::from_loggable(_format, Descriptor_format).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Opacity of the image, useful for layering several images. @@ -352,8 +349,7 @@ namespace rerun::archetypes { /// Defaults to 1.0 (fully opaque). Image with_opacity(const rerun::components::Opacity& _opacity) && { opacity = ComponentBatch::from_loggable(_opacity, Descriptor_opacity).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -362,8 +358,7 @@ namespace rerun::archetypes { Image with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/instance_poses3d.hpp b/rerun_cpp/src/rerun/archetypes/instance_poses3d.hpp index 98549a38537d..b7c7f1ef1999 100644 --- a/rerun_cpp/src/rerun/archetypes/instance_poses3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/instance_poses3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/pose_rotation_axis_angle.hpp" #include "../components/pose_rotation_quat.hpp" @@ -148,8 +147,7 @@ namespace rerun::archetypes { ) && { translations = ComponentBatch::from_loggable(_translations, Descriptor_translations) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via axis + angle. @@ -161,8 +159,7 @@ namespace rerun::archetypes { Descriptor_rotation_axis_angles ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotations via quaternion. @@ -171,15 +168,13 @@ namespace rerun::archetypes { ) && { quaternions = ComponentBatch::from_loggable(_quaternions, Descriptor_quaternions) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Scaling factors. InstancePoses3D with_scales(const Collection& _scales) && { scales = ComponentBatch::from_loggable(_scales, Descriptor_scales).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// 3x3 transformation matrices. @@ -187,8 +182,7 @@ namespace rerun::archetypes { const Collection& _mat3x3 ) && { mat3x3 = ComponentBatch::from_loggable(_mat3x3, Descriptor_mat3x3).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp index 9be48e118519..4b0deedfdf96 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -179,22 +178,19 @@ namespace rerun::archetypes { /// All the actual 2D line strips that make up the batch. LineStrips2D with_strips(const Collection& _strips) && { strips = ComponentBatch::from_loggable(_strips, Descriptor_strips).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the line strips. LineStrips2D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the line strips. LineStrips2D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the line strips. @@ -203,16 +199,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. LineStrips2D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. LineStrips2D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order of each line strip. @@ -221,8 +215,7 @@ namespace rerun::archetypes { LineStrips2D with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional `components::ClassId`s for the lines. @@ -231,8 +224,7 @@ namespace rerun::archetypes { LineStrips2D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp index a404cc51fbf7..7dfc0eb7b659 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -183,22 +182,19 @@ namespace rerun::archetypes { /// All the actual 3D line strips that make up the batch. LineStrips3D with_strips(const Collection& _strips) && { strips = ComponentBatch::from_loggable(_strips, Descriptor_strips).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the line strips. LineStrips3D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the line strips. LineStrips3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the line strips. @@ -207,16 +203,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. LineStrips3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. LineStrips3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional `components::ClassId`s for the lines. @@ -225,8 +219,7 @@ namespace rerun::archetypes { LineStrips3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/mesh3d.hpp b/rerun_cpp/src/rerun/archetypes/mesh3d.hpp index 0242ecbbc2b4..45f7f9d8a4e2 100644 --- a/rerun_cpp/src/rerun/archetypes/mesh3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/mesh3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/albedo_factor.hpp" #include "../components/class_id.hpp" @@ -228,8 +227,7 @@ namespace rerun::archetypes { vertex_positions = ComponentBatch::from_loggable(_vertex_positions, Descriptor_vertex_positions) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional indices for the triangles that make up the mesh. @@ -239,8 +237,7 @@ namespace rerun::archetypes { triangle_indices = ComponentBatch::from_loggable(_triangle_indices, Descriptor_triangle_indices) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional normal for each vertex. @@ -249,16 +246,14 @@ namespace rerun::archetypes { vertex_normals = ComponentBatch::from_loggable(_vertex_normals, Descriptor_vertex_normals) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional color for each vertex. Mesh3D with_vertex_colors(const Collection& _vertex_colors) && { vertex_colors = ComponentBatch::from_loggable(_vertex_colors, Descriptor_vertex_colors) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional uv texture coordinate for each vertex. @@ -268,16 +263,14 @@ namespace rerun::archetypes { vertex_texcoords = ComponentBatch::from_loggable(_vertex_texcoords, Descriptor_vertex_texcoords) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// A color multiplier applied to the whole mesh. Mesh3D with_albedo_factor(const rerun::components::AlbedoFactor& _albedo_factor) && { albedo_factor = ComponentBatch::from_loggable(_albedo_factor, Descriptor_albedo_factor) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional albedo texture. @@ -294,8 +287,7 @@ namespace rerun::archetypes { Descriptor_albedo_texture_buffer ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The format of the `albedo_texture_buffer`, if any. @@ -307,8 +299,7 @@ namespace rerun::archetypes { Descriptor_albedo_texture_format ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the vertices. @@ -317,8 +308,7 @@ namespace rerun::archetypes { Mesh3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/pinhole.hpp b/rerun_cpp/src/rerun/archetypes/pinhole.hpp index deb9817929f0..ded7c0367a83 100644 --- a/rerun_cpp/src/rerun/archetypes/pinhole.hpp +++ b/rerun_cpp/src/rerun/archetypes/pinhole.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/image_plane_distance.hpp" #include "../components/pinhole_projection.hpp" @@ -234,8 +233,7 @@ namespace rerun::archetypes { image_from_camera = ComponentBatch::from_loggable(_image_from_camera, Descriptor_image_from_camera) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Pixel resolution (usually integers) of child image space. Width and height. @@ -249,8 +247,7 @@ namespace rerun::archetypes { Pinhole with_resolution(const rerun::components::Resolution& _resolution) && { resolution = ComponentBatch::from_loggable(_resolution, Descriptor_resolution).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Sets the view coordinates for the camera. @@ -283,8 +280,7 @@ namespace rerun::archetypes { Pinhole with_camera_xyz(const rerun::components::ViewCoordinates& _camera_xyz) && { camera_xyz = ComponentBatch::from_loggable(_camera_xyz, Descriptor_camera_xyz).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The distance from the camera origin to the image plane when the projection is shown in a 3D viewer. @@ -298,8 +294,7 @@ namespace rerun::archetypes { Descriptor_image_plane_distance ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/points2d.hpp b/rerun_cpp/src/rerun/archetypes/points2d.hpp index 9c292f5e7bb3..f4e327a72509 100644 --- a/rerun_cpp/src/rerun/archetypes/points2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/points2d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -212,22 +211,19 @@ namespace rerun::archetypes { Points2D with_positions(const Collection& _positions) && { positions = ComponentBatch::from_loggable(_positions, Descriptor_positions).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the points, effectively turning them into circles. Points2D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the points. Points2D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the points. @@ -236,16 +232,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Points2D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Points2D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -254,8 +248,7 @@ namespace rerun::archetypes { Points2D with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the points. @@ -264,8 +257,7 @@ namespace rerun::archetypes { Points2D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional keypoint IDs for the points, identifying them within a class. @@ -280,8 +272,7 @@ namespace rerun::archetypes { ) && { keypoint_ids = ComponentBatch::from_loggable(_keypoint_ids, Descriptor_keypoint_ids) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/points3d.hpp b/rerun_cpp/src/rerun/archetypes/points3d.hpp index 3a844f848e4f..7e9f409dd4bb 100644 --- a/rerun_cpp/src/rerun/archetypes/points3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/points3d.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/class_id.hpp" #include "../components/color.hpp" @@ -257,22 +256,19 @@ namespace rerun::archetypes { Points3D with_positions(const Collection& _positions) && { positions = ComponentBatch::from_loggable(_positions, Descriptor_positions).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional radii for the points, effectively turning them into circles. Points3D with_radii(const Collection& _radii) && { radii = ComponentBatch::from_loggable(_radii, Descriptor_radii).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional colors for the points. Points3D with_colors(const Collection& _colors) && { colors = ComponentBatch::from_loggable(_colors, Descriptor_colors).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional text labels for the points. @@ -281,16 +277,14 @@ namespace rerun::archetypes { /// Otherwise, each instance will have its own label. Points3D with_labels(const Collection& _labels) && { labels = ComponentBatch::from_loggable(_labels, Descriptor_labels).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional choice of whether the text labels should be shown by default. Points3D with_show_labels(const rerun::components::ShowLabels& _show_labels) && { show_labels = ComponentBatch::from_loggable(_show_labels, Descriptor_show_labels) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional class Ids for the points. @@ -299,8 +293,7 @@ namespace rerun::archetypes { Points3D with_class_ids(const Collection& _class_ids) && { class_ids = ComponentBatch::from_loggable(_class_ids, Descriptor_class_ids).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional keypoint IDs for the points, identifying them within a class. @@ -315,8 +308,7 @@ namespace rerun::archetypes { ) && { keypoint_ids = ComponentBatch::from_loggable(_keypoint_ids, Descriptor_keypoint_ids) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/scalar.hpp b/rerun_cpp/src/rerun/archetypes/scalar.hpp index e0c7f63e71fb..842b48e85f29 100644 --- a/rerun_cpp/src/rerun/archetypes/scalar.hpp +++ b/rerun_cpp/src/rerun/archetypes/scalar.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/scalar.hpp" #include "../indicator_component.hpp" @@ -117,8 +116,7 @@ namespace rerun::archetypes { /// The scalar value to log. Scalar with_scalar(const rerun::components::Scalar& _scalar) && { scalar = ComponentBatch::from_loggable(_scalar, Descriptor_scalar).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp b/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp index c433ee4fd39a..1f7a418c8227 100644 --- a/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp +++ b/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/draw_order.hpp" #include "../components/image_buffer.hpp" @@ -200,15 +199,13 @@ namespace rerun::archetypes { /// The raw image data. SegmentationImage with_buffer(const rerun::components::ImageBuffer& _buffer) && { buffer = ComponentBatch::from_loggable(_buffer, Descriptor_buffer).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The format of the image. SegmentationImage with_format(const rerun::components::ImageFormat& _format) && { format = ComponentBatch::from_loggable(_format, Descriptor_format).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Opacity of the image, useful for layering the segmentation image on top of another image. @@ -216,8 +213,7 @@ namespace rerun::archetypes { /// Defaults to 0.5 if there's any other images in the scene, otherwise 1.0. SegmentationImage with_opacity(const rerun::components::Opacity& _opacity) && { opacity = ComponentBatch::from_loggable(_opacity, Descriptor_opacity).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// An optional floating point value that specifies the 2D drawing order. @@ -226,8 +222,7 @@ namespace rerun::archetypes { SegmentationImage with_draw_order(const rerun::components::DrawOrder& _draw_order) && { draw_order = ComponentBatch::from_loggable(_draw_order, Descriptor_draw_order).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/series_line.hpp b/rerun_cpp/src/rerun/archetypes/series_line.hpp index 914495244416..a77969cf69e7 100644 --- a/rerun_cpp/src/rerun/archetypes/series_line.hpp +++ b/rerun_cpp/src/rerun/archetypes/series_line.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/aggregation_policy.hpp" #include "../components/color.hpp" @@ -127,15 +126,13 @@ namespace rerun::archetypes { /// Color for the corresponding series. SeriesLine with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Stroke width for the corresponding series. SeriesLine with_width(const rerun::components::StrokeWidth& _width) && { width = ComponentBatch::from_loggable(_width, Descriptor_width).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Display name of the series. @@ -143,8 +140,7 @@ namespace rerun::archetypes { /// Used in the legend. SeriesLine with_name(const rerun::components::Name& _name) && { name = ComponentBatch::from_loggable(_name, Descriptor_name).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Configures the zoom-dependent scalar aggregation. @@ -158,8 +154,7 @@ namespace rerun::archetypes { aggregation_policy = ComponentBatch::from_loggable(_aggregation_policy, Descriptor_aggregation_policy) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/series_point.hpp b/rerun_cpp/src/rerun/archetypes/series_point.hpp index 8bfe2192187e..68d37453cf00 100644 --- a/rerun_cpp/src/rerun/archetypes/series_point.hpp +++ b/rerun_cpp/src/rerun/archetypes/series_point.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/color.hpp" #include "../components/marker_shape.hpp" @@ -131,15 +130,13 @@ namespace rerun::archetypes { /// Color for the corresponding series. SeriesPoint with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// What shape to use to represent the point SeriesPoint with_marker(const rerun::components::MarkerShape& _marker) && { marker = ComponentBatch::from_loggable(_marker, Descriptor_marker).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Display name of the series. @@ -147,16 +144,14 @@ namespace rerun::archetypes { /// Used in the legend. SeriesPoint with_name(const rerun::components::Name& _name) && { name = ComponentBatch::from_loggable(_name, Descriptor_name).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Size of the marker. SeriesPoint with_marker_size(const rerun::components::MarkerSize& _marker_size) && { marker_size = ComponentBatch::from_loggable(_marker_size, Descriptor_marker_size) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/tensor.hpp b/rerun_cpp/src/rerun/archetypes/tensor.hpp index ec12b7511424..0930e51cf0da 100644 --- a/rerun_cpp/src/rerun/archetypes/tensor.hpp +++ b/rerun_cpp/src/rerun/archetypes/tensor.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/tensor_data.hpp" #include "../components/value_range.hpp" @@ -140,8 +139,7 @@ namespace rerun::archetypes { /// The tensor data Tensor with_data(const rerun::components::TensorData& _data) && { data = ComponentBatch::from_loggable(_data, Descriptor_data).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The expected range of values. @@ -158,8 +156,7 @@ namespace rerun::archetypes { Tensor with_value_range(const rerun::components::ValueRange& _value_range) && { value_range = ComponentBatch::from_loggable(_value_range, Descriptor_value_range) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/text_document.hpp b/rerun_cpp/src/rerun/archetypes/text_document.hpp index 6e4d99678859..a3e51cde808e 100644 --- a/rerun_cpp/src/rerun/archetypes/text_document.hpp +++ b/rerun_cpp/src/rerun/archetypes/text_document.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/media_type.hpp" #include "../components/text.hpp" @@ -128,8 +127,7 @@ namespace rerun::archetypes { /// Contents of the text document. TextDocument with_text(const rerun::components::Text& _text) && { text = ComponentBatch::from_loggable(_text, Descriptor_text).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The Media Type of the text. @@ -142,8 +140,7 @@ namespace rerun::archetypes { TextDocument with_media_type(const rerun::components::MediaType& _media_type) && { media_type = ComponentBatch::from_loggable(_media_type, Descriptor_media_type).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/text_log.hpp b/rerun_cpp/src/rerun/archetypes/text_log.hpp index 53e41a6c7842..f14cb443e808 100644 --- a/rerun_cpp/src/rerun/archetypes/text_log.hpp +++ b/rerun_cpp/src/rerun/archetypes/text_log.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/color.hpp" #include "../components/text.hpp" @@ -134,8 +133,7 @@ namespace rerun::archetypes { /// The body of the message. TextLog with_text(const rerun::components::Text& _text) && { text = ComponentBatch::from_loggable(_text, Descriptor_text).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The verbosity level of the message. @@ -143,15 +141,13 @@ namespace rerun::archetypes { /// This can be used to filter the log messages in the Rerun Viewer. TextLog with_level(const rerun::components::TextLogLevel& _level) && { level = ComponentBatch::from_loggable(_level, Descriptor_level).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional color to use for the log line in the Rerun Viewer. TextLog with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/transform3d.hpp b/rerun_cpp/src/rerun/archetypes/transform3d.hpp index 64e6cd60b07c..a84dc338b0bf 100644 --- a/rerun_cpp/src/rerun/archetypes/transform3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/transform3d.hpp @@ -611,8 +611,7 @@ namespace rerun::archetypes { Transform3D with_translation(const rerun::components::Translation3D& _translation) && { translation = ComponentBatch::from_loggable(_translation, Descriptor_translation) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotation via axis + angle. @@ -622,38 +621,33 @@ namespace rerun::archetypes { rotation_axis_angle = ComponentBatch::from_loggable(_rotation_axis_angle, Descriptor_rotation_axis_angle) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Rotation via quaternion. Transform3D with_quaternion(const rerun::components::RotationQuat& _quaternion) && { quaternion = ComponentBatch::from_loggable(_quaternion, Descriptor_quaternion).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Scaling factor. Transform3D with_scale(const rerun::components::Scale3D& _scale) && { scale = ComponentBatch::from_loggable(_scale, Descriptor_scale).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// 3x3 transformation matrix. Transform3D with_mat3x3(const rerun::components::TransformMat3x3& _mat3x3) && { mat3x3 = ComponentBatch::from_loggable(_mat3x3, Descriptor_mat3x3).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Specifies the relation this transform establishes between this entity and its parent. Transform3D with_relation(const rerun::components::TransformRelation& _relation) && { relation = ComponentBatch::from_loggable(_relation, Descriptor_relation).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Visual length of the 3 axes. @@ -663,8 +657,7 @@ namespace rerun::archetypes { Transform3D with_axis_length(const rerun::components::AxisLength& _axis_length) && { axis_length = ComponentBatch::from_loggable(_axis_length, Descriptor_axis_length) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/video_frame_reference.hpp b/rerun_cpp/src/rerun/archetypes/video_frame_reference.hpp index 957dba8c4376..42be5978f8fa 100644 --- a/rerun_cpp/src/rerun/archetypes/video_frame_reference.hpp +++ b/rerun_cpp/src/rerun/archetypes/video_frame_reference.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/entity_path.hpp" #include "../components/video_timestamp.hpp" @@ -183,8 +182,7 @@ namespace rerun::archetypes { VideoFrameReference with_timestamp(const rerun::components::VideoTimestamp& _timestamp) && { timestamp = ComponentBatch::from_loggable(_timestamp, Descriptor_timestamp).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Optional reference to an entity with a `archetypes::AssetVideo`. @@ -202,8 +200,7 @@ namespace rerun::archetypes { video_reference = ComponentBatch::from_loggable(_video_reference, Descriptor_video_reference) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/archetypes/view_coordinates.hpp b/rerun_cpp/src/rerun/archetypes/view_coordinates.hpp index 02cdd0bbc572..9039d34d46ed 100644 --- a/rerun_cpp/src/rerun/archetypes/view_coordinates.hpp +++ b/rerun_cpp/src/rerun/archetypes/view_coordinates.hpp @@ -4,7 +4,6 @@ #pragma once #include "../collection.hpp" -#include "../compiler_utils.hpp" #include "../component_batch.hpp" #include "../components/view_coordinates.hpp" #include "../indicator_component.hpp" @@ -342,8 +341,7 @@ namespace rerun::archetypes { /// The directions of the [x, y, z] axes. ViewCoordinates with_xyz(const rerun::components::ViewCoordinates& _xyz) && { xyz = ComponentBatch::from_loggable(_xyz, Descriptor_xyz).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/background.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/background.hpp index a8cb04fcbc80..041e794fe38c 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/background.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/background.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/background_kind.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/color.hpp" #include "../../indicator_component.hpp" @@ -66,15 +65,13 @@ namespace rerun::blueprint::archetypes { /// The type of the background. Background with_kind(const rerun::blueprint::components::BackgroundKind& _kind) && { kind = ComponentBatch::from_loggable(_kind, Descriptor_kind).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Color used for the solid background type. Background with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/container_blueprint.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/container_blueprint.hpp index 657763eaea81..9cd08daedc65 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/container_blueprint.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/container_blueprint.hpp @@ -11,7 +11,6 @@ #include "../../blueprint/components/row_share.hpp" #include "../../blueprint/components/visible.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/name.hpp" #include "../../indicator_component.hpp" @@ -144,16 +143,14 @@ namespace rerun::blueprint::archetypes { container_kind = ComponentBatch::from_loggable(_container_kind, Descriptor_container_kind) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The name of the container. ContainerBlueprint with_display_name(const rerun::components::Name& _display_name) && { display_name = ComponentBatch::from_loggable(_display_name, Descriptor_display_name) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// `ContainerId`s or `ViewId`s that are children of this container. @@ -162,8 +159,7 @@ namespace rerun::blueprint::archetypes { ) && { contents = ComponentBatch::from_loggable(_contents, Descriptor_contents).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The layout shares of each column in the container. @@ -176,8 +172,7 @@ namespace rerun::blueprint::archetypes { ) && { col_shares = ComponentBatch::from_loggable(_col_shares, Descriptor_col_shares).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The layout shares of each row of the container. @@ -190,8 +185,7 @@ namespace rerun::blueprint::archetypes { ) && { row_shares = ComponentBatch::from_loggable(_row_shares, Descriptor_row_shares).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Which tab is active. @@ -202,8 +196,7 @@ namespace rerun::blueprint::archetypes { ) && { active_tab = ComponentBatch::from_loggable(_active_tab, Descriptor_active_tab).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Whether this container is visible. @@ -211,8 +204,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to true if not specified. ContainerBlueprint with_visible(const rerun::blueprint::components::Visible& _visible) && { visible = ComponentBatch::from_loggable(_visible, Descriptor_visible).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// How many columns this grid should have. @@ -225,8 +217,7 @@ namespace rerun::blueprint::archetypes { ) && { grid_columns = ComponentBatch::from_loggable(_grid_columns, Descriptor_grid_columns) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/dataframe_query.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/dataframe_query.hpp index 60ec5708b155..8918e7f6ce6b 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/dataframe_query.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/dataframe_query.hpp @@ -9,7 +9,6 @@ #include "../../blueprint/components/selected_columns.hpp" #include "../../blueprint/components/timeline_name.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -98,8 +97,7 @@ namespace rerun::blueprint::archetypes { ) && { timeline = ComponentBatch::from_loggable(_timeline, Descriptor_timeline).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// If provided, only rows whose timestamp is within this range will be shown. @@ -111,8 +109,7 @@ namespace rerun::blueprint::archetypes { filter_by_range = ComponentBatch::from_loggable(_filter_by_range, Descriptor_filter_by_range) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// If provided, only show rows which contains a logged event for the specified component. @@ -122,8 +119,7 @@ namespace rerun::blueprint::archetypes { filter_is_not_null = ComponentBatch::from_loggable(_filter_is_not_null, Descriptor_filter_is_not_null) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Should empty cells be filled with latest-at queries? @@ -133,16 +129,14 @@ namespace rerun::blueprint::archetypes { apply_latest_at = ComponentBatch::from_loggable(_apply_latest_at, Descriptor_apply_latest_at) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Selected columns. If unset, all columns are selected. DataframeQuery with_select(const rerun::blueprint::components::SelectedColumns& _select ) && { select = ComponentBatch::from_loggable(_select, Descriptor_select).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/force_center.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/force_center.hpp index e79756b9e892..42899c9be4c0 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/force_center.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/force_center.hpp @@ -6,7 +6,6 @@ #include "../../blueprint/components/enabled.hpp" #include "../../blueprint/components/force_strength.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -67,16 +66,14 @@ namespace rerun::blueprint::archetypes { /// The center force tries to move the center of mass of the graph towards the origin. ForceCenter with_enabled(const rerun::blueprint::components::Enabled& _enabled) && { enabled = ComponentBatch::from_loggable(_enabled, Descriptor_enabled).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The strength of the force. ForceCenter with_strength(const rerun::blueprint::components::ForceStrength& _strength) && { strength = ComponentBatch::from_loggable(_strength, Descriptor_strength).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/force_collision_radius.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/force_collision_radius.hpp index abcd2f1ebfac..9c1c4e20d2ea 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/force_collision_radius.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/force_collision_radius.hpp @@ -7,7 +7,6 @@ #include "../../blueprint/components/force_iterations.hpp" #include "../../blueprint/components/force_strength.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -80,8 +79,7 @@ namespace rerun::blueprint::archetypes { ForceCollisionRadius with_enabled(const rerun::blueprint::components::Enabled& _enabled ) && { enabled = ComponentBatch::from_loggable(_enabled, Descriptor_enabled).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The strength of the force. @@ -90,8 +88,7 @@ namespace rerun::blueprint::archetypes { ) && { strength = ComponentBatch::from_loggable(_strength, Descriptor_strength).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Specifies how often this force should be applied per iteration. @@ -102,8 +99,7 @@ namespace rerun::blueprint::archetypes { ) && { iterations = ComponentBatch::from_loggable(_iterations, Descriptor_iterations).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/force_link.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/force_link.hpp index dbedc1fc1c0c..19c4932d265e 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/force_link.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/force_link.hpp @@ -7,7 +7,6 @@ #include "../../blueprint/components/force_distance.hpp" #include "../../blueprint/components/force_iterations.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -78,16 +77,14 @@ namespace rerun::blueprint::archetypes { /// The link force aims to achieve a target distance between two nodes that are connected by one ore more edges. ForceLink with_enabled(const rerun::blueprint::components::Enabled& _enabled) && { enabled = ComponentBatch::from_loggable(_enabled, Descriptor_enabled).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The target distance between two nodes. ForceLink with_distance(const rerun::blueprint::components::ForceDistance& _distance) && { distance = ComponentBatch::from_loggable(_distance, Descriptor_distance).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Specifies how often this force should be applied per iteration. @@ -97,8 +94,7 @@ namespace rerun::blueprint::archetypes { ) && { iterations = ComponentBatch::from_loggable(_iterations, Descriptor_iterations).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/force_many_body.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/force_many_body.hpp index b5a6aad2aaf3..63701f68bcdc 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/force_many_body.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/force_many_body.hpp @@ -6,7 +6,6 @@ #include "../../blueprint/components/enabled.hpp" #include "../../blueprint/components/force_strength.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -73,8 +72,7 @@ namespace rerun::blueprint::archetypes { /// strength is smaller than 0, it pushes nodes apart; if it is larger than 0, it pulls them together. ForceManyBody with_enabled(const rerun::blueprint::components::Enabled& _enabled) && { enabled = ComponentBatch::from_loggable(_enabled, Descriptor_enabled).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The strength of the force. @@ -84,8 +82,7 @@ namespace rerun::blueprint::archetypes { ) && { strength = ComponentBatch::from_loggable(_strength, Descriptor_strength).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/force_position.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/force_position.hpp index 7f1b5fba8bfc..2af3226f584d 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/force_position.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/force_position.hpp @@ -6,7 +6,6 @@ #include "../../blueprint/components/enabled.hpp" #include "../../blueprint/components/force_strength.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/position2d.hpp" #include "../../indicator_component.hpp" @@ -76,8 +75,7 @@ namespace rerun::blueprint::archetypes { /// The position force pulls nodes towards a specific position, similar to gravity. ForcePosition with_enabled(const rerun::blueprint::components::Enabled& _enabled) && { enabled = ComponentBatch::from_loggable(_enabled, Descriptor_enabled).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The strength of the force. @@ -85,16 +83,14 @@ namespace rerun::blueprint::archetypes { ) && { strength = ComponentBatch::from_loggable(_strength, Descriptor_strength).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The position where the nodes should be pulled towards. ForcePosition with_position(const rerun::components::Position2D& _position) && { position = ComponentBatch::from_loggable(_position, Descriptor_position).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/line_grid3d.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/line_grid3d.hpp index acb414914d4b..d6f866f4bfab 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/line_grid3d.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/line_grid3d.hpp @@ -6,7 +6,6 @@ #include "../../blueprint/components/grid_spacing.hpp" #include "../../blueprint/components/visible.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/color.hpp" #include "../../components/plane3d.hpp" @@ -102,8 +101,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to true. LineGrid3D with_visible(const rerun::blueprint::components::Visible& _visible) && { visible = ComponentBatch::from_loggable(_visible, Descriptor_visible).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Space between grid lines spacing of one line to the next in scene units. @@ -112,8 +110,7 @@ namespace rerun::blueprint::archetypes { /// This controls the closest zoom level. LineGrid3D with_spacing(const rerun::blueprint::components::GridSpacing& _spacing) && { spacing = ComponentBatch::from_loggable(_spacing, Descriptor_spacing).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// In what plane the grid is drawn. @@ -121,8 +118,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to whatever plane is determined as the plane at zero units up/down as defined by `components::ViewCoordinates` if present. LineGrid3D with_plane(const rerun::components::Plane3D& _plane) && { plane = ComponentBatch::from_loggable(_plane, Descriptor_plane).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// How thick the lines should be in ui units. @@ -131,8 +127,7 @@ namespace rerun::blueprint::archetypes { LineGrid3D with_stroke_width(const rerun::components::StrokeWidth& _stroke_width) && { stroke_width = ComponentBatch::from_loggable(_stroke_width, Descriptor_stroke_width) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Color used for the grid. @@ -141,8 +136,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to a slightly transparent light gray. LineGrid3D with_color(const rerun::components::Color& _color) && { color = ComponentBatch::from_loggable(_color, Descriptor_color).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/map_background.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/map_background.hpp index e2081f8e9f8d..6a1ce93640eb 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/map_background.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/map_background.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/map_provider.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -63,8 +62,7 @@ namespace rerun::blueprint::archetypes { MapBackground with_provider(const rerun::blueprint::components::MapProvider& _provider) && { provider = ComponentBatch::from_loggable(_provider, Descriptor_provider).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/map_zoom.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/map_zoom.hpp index d81d95ab2381..a39c63e78045 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/map_zoom.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/map_zoom.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/zoom_level.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -62,8 +61,7 @@ namespace rerun::blueprint::archetypes { /// Zoom level follow the [`OpenStreetMap` definition](https://wiki.openstreetmap.org/wiki/Zoom_levels). MapZoom with_zoom(const rerun::blueprint::components::ZoomLevel& _zoom) && { zoom = ComponentBatch::from_loggable(_zoom, Descriptor_zoom).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/near_clip_plane.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/near_clip_plane.hpp index 91bda2234be8..96c494f2463d 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/near_clip_plane.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/near_clip_plane.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/near_clip_plane.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -68,8 +67,7 @@ namespace rerun::blueprint::archetypes { near_clip_plane = ComponentBatch::from_loggable(_near_clip_plane, Descriptor_near_clip_plane) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/panel_blueprint.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/panel_blueprint.hpp index 7dbc740044dd..1b5d644830a4 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/panel_blueprint.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/panel_blueprint.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/panel_state.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -54,8 +53,7 @@ namespace rerun::blueprint::archetypes { /// Current state of the panels. PanelBlueprint with_state(const rerun::blueprint::components::PanelState& _state) && { state = ComponentBatch::from_loggable(_state, Descriptor_state).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/plot_legend.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/plot_legend.hpp index 8c34e1420e5b..9fb02a3c4ed4 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/plot_legend.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/plot_legend.hpp @@ -6,7 +6,6 @@ #include "../../blueprint/components/corner2d.hpp" #include "../../blueprint/components/visible.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -69,8 +68,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to the right bottom corner. PlotLegend with_corner(const rerun::blueprint::components::Corner2D& _corner) && { corner = ComponentBatch::from_loggable(_corner, Descriptor_corner).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Whether the legend is shown at all. @@ -78,8 +76,7 @@ namespace rerun::blueprint::archetypes { /// True by default. PlotLegend with_visible(const rerun::blueprint::components::Visible& _visible) && { visible = ComponentBatch::from_loggable(_visible, Descriptor_visible).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/scalar_axis.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/scalar_axis.hpp index b56c95b4797f..194ed309f5e9 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/scalar_axis.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/scalar_axis.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/lock_range_during_zoom.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/range1d.hpp" #include "../../indicator_component.hpp" @@ -66,8 +65,7 @@ namespace rerun::blueprint::archetypes { /// If unset, the range well be automatically determined based on the queried data. ScalarAxis with_range(const rerun::components::Range1D& _range) && { range = ComponentBatch::from_loggable(_range, Descriptor_range).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// If enabled, the Y axis range will remain locked to the specified range when zooming. @@ -76,8 +74,7 @@ namespace rerun::blueprint::archetypes { ) && { zoom_lock = ComponentBatch::from_loggable(_zoom_lock, Descriptor_zoom_lock).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_scalar_mapping.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_scalar_mapping.hpp index 073b6cb836ec..4773a49ccde5 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_scalar_mapping.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_scalar_mapping.hpp @@ -4,7 +4,6 @@ #pragma once #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/colormap.hpp" #include "../../components/gamma_correction.hpp" @@ -86,16 +85,14 @@ namespace rerun::blueprint::archetypes { ) && { mag_filter = ComponentBatch::from_loggable(_mag_filter, Descriptor_mag_filter).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// How scalar values map to colors. TensorScalarMapping with_colormap(const rerun::components::Colormap& _colormap) && { colormap = ComponentBatch::from_loggable(_colormap, Descriptor_colormap).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Gamma exponent applied to normalized values before mapping to color. @@ -107,8 +104,7 @@ namespace rerun::blueprint::archetypes { /// `colormap( ((value - data_display_range.min) / (data_display_range.max - data_display_range.min)) ** gamma )` TensorScalarMapping with_gamma(const rerun::components::GammaCorrection& _gamma) && { gamma = ComponentBatch::from_loggable(_gamma, Descriptor_gamma).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_slice_selection.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_slice_selection.hpp index 7bc6615c607f..49d5678504d6 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_slice_selection.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_slice_selection.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/tensor_dimension_index_slider.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/tensor_dimension_index_selection.hpp" #include "../../components/tensor_height_dimension.hpp" @@ -95,8 +94,7 @@ namespace rerun::blueprint::archetypes { /// If not specified, the height will be determined automatically based on the name and index of the dimension. TensorSliceSelection with_width(const rerun::components::TensorWidthDimension& _width) && { width = ComponentBatch::from_loggable(_width, Descriptor_width).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Which dimension to map to height. @@ -105,8 +103,7 @@ namespace rerun::blueprint::archetypes { TensorSliceSelection with_height(const rerun::components::TensorHeightDimension& _height ) && { height = ComponentBatch::from_loggable(_height, Descriptor_height).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Selected indices for all other dimensions. @@ -116,8 +113,7 @@ namespace rerun::blueprint::archetypes { const Collection& _indices ) && { indices = ComponentBatch::from_loggable(_indices, Descriptor_indices).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Any dimension listed here will have a slider for the index. @@ -129,8 +125,7 @@ namespace rerun::blueprint::archetypes { const Collection& _slider ) && { slider = ComponentBatch::from_loggable(_slider, Descriptor_slider).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_view_fit.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_view_fit.hpp index 1ad22cc3ce09..73ffcd63f67e 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/tensor_view_fit.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/tensor_view_fit.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/view_fit.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -54,8 +53,7 @@ namespace rerun::blueprint::archetypes { /// How the image is scaled to fit the view. TensorViewFit with_scaling(const rerun::blueprint::components::ViewFit& _scaling) && { scaling = ComponentBatch::from_loggable(_scaling, Descriptor_scaling).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/view_blueprint.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/view_blueprint.hpp index dfe535379bf8..2db0735288d2 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/view_blueprint.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/view_blueprint.hpp @@ -7,7 +7,6 @@ #include "../../blueprint/components/view_origin.hpp" #include "../../blueprint/components/visible.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../components/name.hpp" #include "../../indicator_component.hpp" @@ -99,16 +98,14 @@ namespace rerun::blueprint::archetypes { class_identifier = ComponentBatch::from_loggable(_class_identifier, Descriptor_class_identifier) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The name of the view. ViewBlueprint with_display_name(const rerun::components::Name& _display_name) && { display_name = ComponentBatch::from_loggable(_display_name, Descriptor_display_name) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// The "anchor point" of this view. @@ -123,8 +120,7 @@ namespace rerun::blueprint::archetypes { ) && { space_origin = ComponentBatch::from_loggable(_space_origin, Descriptor_space_origin) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Whether this view is visible. @@ -132,8 +128,7 @@ namespace rerun::blueprint::archetypes { /// Defaults to true if not specified. ViewBlueprint with_visible(const rerun::blueprint::components::Visible& _visible) && { visible = ComponentBatch::from_loggable(_visible, Descriptor_visible).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/view_contents.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/view_contents.hpp index a3dbac0184ce..73a8e11bf97a 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/view_contents.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/view_contents.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/query_expression.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -101,8 +100,7 @@ namespace rerun::blueprint::archetypes { const Collection& _query ) && { query = ComponentBatch::from_loggable(_query, Descriptor_query).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/viewport_blueprint.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/viewport_blueprint.hpp index cf89e006fdca..8d5b48462fd7 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/viewport_blueprint.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/viewport_blueprint.hpp @@ -9,7 +9,6 @@ #include "../../blueprint/components/view_maximized.hpp" #include "../../blueprint/components/viewer_recommendation_hash.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -108,8 +107,7 @@ namespace rerun::blueprint::archetypes { root_container = ComponentBatch::from_loggable(_root_container, Descriptor_root_container) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Show one tab as maximized? @@ -118,8 +116,7 @@ namespace rerun::blueprint::archetypes { ) && { maximized = ComponentBatch::from_loggable(_maximized, Descriptor_maximized).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Whether the viewport layout is determined automatically. @@ -131,8 +128,7 @@ namespace rerun::blueprint::archetypes { ) && { auto_layout = ComponentBatch::from_loggable(_auto_layout, Descriptor_auto_layout) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Whether or not views should be created automatically. @@ -144,8 +140,7 @@ namespace rerun::blueprint::archetypes { ) && { auto_views = ComponentBatch::from_loggable(_auto_views, Descriptor_auto_views).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } /// Hashes of all recommended views the viewer has already added and that should not be added again. @@ -163,8 +158,7 @@ namespace rerun::blueprint::archetypes { Descriptor_past_viewer_recommendations ) .value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/visible_time_ranges.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/visible_time_ranges.hpp index 186b5fbbdf50..4c1bf4cb200c 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/visible_time_ranges.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/visible_time_ranges.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/visible_time_range.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -75,8 +74,7 @@ namespace rerun::blueprint::archetypes { const Collection& _ranges ) && { ranges = ComponentBatch::from_loggable(_ranges, Descriptor_ranges).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/src/rerun/blueprint/archetypes/visual_bounds2d.hpp b/rerun_cpp/src/rerun/blueprint/archetypes/visual_bounds2d.hpp index 9b1f00f5695b..a12ffbe83336 100644 --- a/rerun_cpp/src/rerun/blueprint/archetypes/visual_bounds2d.hpp +++ b/rerun_cpp/src/rerun/blueprint/archetypes/visual_bounds2d.hpp @@ -5,7 +5,6 @@ #include "../../blueprint/components/visual_bounds2d.hpp" #include "../../collection.hpp" -#include "../../compiler_utils.hpp" #include "../../component_batch.hpp" #include "../../indicator_component.hpp" #include "../../result.hpp" @@ -68,8 +67,7 @@ namespace rerun::blueprint::archetypes { /// Use this to control pan & zoom of the view. VisualBounds2D with_range(const rerun::blueprint::components::VisualBounds2D& _range) && { range = ComponentBatch::from_loggable(_range, Descriptor_range).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/tests/generated/archetypes/affix_fuzzer1.hpp b/rerun_cpp/tests/generated/archetypes/affix_fuzzer1.hpp index 5c163e708af9..cb270b82eeb3 100644 --- a/rerun_cpp/tests/generated/archetypes/affix_fuzzer1.hpp +++ b/rerun_cpp/tests/generated/archetypes/affix_fuzzer1.hpp @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -278,155 +277,133 @@ namespace rerun::archetypes { AffixFuzzer1 with_fuzz1001(const rerun::components::AffixFuzzer1& _fuzz1001) && { fuzz1001 = ComponentBatch::from_loggable(_fuzz1001, Descriptor_fuzz1001).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1002(const rerun::components::AffixFuzzer2& _fuzz1002) && { fuzz1002 = ComponentBatch::from_loggable(_fuzz1002, Descriptor_fuzz1002).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1003(const rerun::components::AffixFuzzer3& _fuzz1003) && { fuzz1003 = ComponentBatch::from_loggable(_fuzz1003, Descriptor_fuzz1003).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1004(const rerun::components::AffixFuzzer4& _fuzz1004) && { fuzz1004 = ComponentBatch::from_loggable(_fuzz1004, Descriptor_fuzz1004).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1005(const rerun::components::AffixFuzzer5& _fuzz1005) && { fuzz1005 = ComponentBatch::from_loggable(_fuzz1005, Descriptor_fuzz1005).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1006(const rerun::components::AffixFuzzer6& _fuzz1006) && { fuzz1006 = ComponentBatch::from_loggable(_fuzz1006, Descriptor_fuzz1006).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1007(const rerun::components::AffixFuzzer7& _fuzz1007) && { fuzz1007 = ComponentBatch::from_loggable(_fuzz1007, Descriptor_fuzz1007).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1008(const rerun::components::AffixFuzzer8& _fuzz1008) && { fuzz1008 = ComponentBatch::from_loggable(_fuzz1008, Descriptor_fuzz1008).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1009(const rerun::components::AffixFuzzer9& _fuzz1009) && { fuzz1009 = ComponentBatch::from_loggable(_fuzz1009, Descriptor_fuzz1009).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1010(const rerun::components::AffixFuzzer10& _fuzz1010) && { fuzz1010 = ComponentBatch::from_loggable(_fuzz1010, Descriptor_fuzz1010).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1011(const rerun::components::AffixFuzzer11& _fuzz1011) && { fuzz1011 = ComponentBatch::from_loggable(_fuzz1011, Descriptor_fuzz1011).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1012(const rerun::components::AffixFuzzer12& _fuzz1012) && { fuzz1012 = ComponentBatch::from_loggable(_fuzz1012, Descriptor_fuzz1012).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1013(const rerun::components::AffixFuzzer13& _fuzz1013) && { fuzz1013 = ComponentBatch::from_loggable(_fuzz1013, Descriptor_fuzz1013).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1014(const rerun::components::AffixFuzzer14& _fuzz1014) && { fuzz1014 = ComponentBatch::from_loggable(_fuzz1014, Descriptor_fuzz1014).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1015(const rerun::components::AffixFuzzer15& _fuzz1015) && { fuzz1015 = ComponentBatch::from_loggable(_fuzz1015, Descriptor_fuzz1015).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1016(const rerun::components::AffixFuzzer16& _fuzz1016) && { fuzz1016 = ComponentBatch::from_loggable(_fuzz1016, Descriptor_fuzz1016).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1017(const rerun::components::AffixFuzzer17& _fuzz1017) && { fuzz1017 = ComponentBatch::from_loggable(_fuzz1017, Descriptor_fuzz1017).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1018(const rerun::components::AffixFuzzer18& _fuzz1018) && { fuzz1018 = ComponentBatch::from_loggable(_fuzz1018, Descriptor_fuzz1018).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1019(const rerun::components::AffixFuzzer19& _fuzz1019) && { fuzz1019 = ComponentBatch::from_loggable(_fuzz1019, Descriptor_fuzz1019).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1020(const rerun::components::AffixFuzzer20& _fuzz1020) && { fuzz1020 = ComponentBatch::from_loggable(_fuzz1020, Descriptor_fuzz1020).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1021(const rerun::components::AffixFuzzer21& _fuzz1021) && { fuzz1021 = ComponentBatch::from_loggable(_fuzz1021, Descriptor_fuzz1021).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer1 with_fuzz1022(const rerun::components::AffixFuzzer22& _fuzz1022) && { fuzz1022 = ComponentBatch::from_loggable(_fuzz1022, Descriptor_fuzz1022).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/tests/generated/archetypes/affix_fuzzer2.hpp b/rerun_cpp/tests/generated/archetypes/affix_fuzzer2.hpp index db03ad5b6c25..7683b5f5b5a8 100644 --- a/rerun_cpp/tests/generated/archetypes/affix_fuzzer2.hpp +++ b/rerun_cpp/tests/generated/archetypes/affix_fuzzer2.hpp @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -257,152 +256,133 @@ namespace rerun::archetypes { ) && { fuzz1101 = ComponentBatch::from_loggable(_fuzz1101, Descriptor_fuzz1101).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1102(const Collection& _fuzz1102 ) && { fuzz1102 = ComponentBatch::from_loggable(_fuzz1102, Descriptor_fuzz1102).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1103(const Collection& _fuzz1103 ) && { fuzz1103 = ComponentBatch::from_loggable(_fuzz1103, Descriptor_fuzz1103).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1104(const Collection& _fuzz1104 ) && { fuzz1104 = ComponentBatch::from_loggable(_fuzz1104, Descriptor_fuzz1104).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1105(const Collection& _fuzz1105 ) && { fuzz1105 = ComponentBatch::from_loggable(_fuzz1105, Descriptor_fuzz1105).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1106(const Collection& _fuzz1106 ) && { fuzz1106 = ComponentBatch::from_loggable(_fuzz1106, Descriptor_fuzz1106).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1107(const Collection& _fuzz1107 ) && { fuzz1107 = ComponentBatch::from_loggable(_fuzz1107, Descriptor_fuzz1107).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1108(const Collection& _fuzz1108 ) && { fuzz1108 = ComponentBatch::from_loggable(_fuzz1108, Descriptor_fuzz1108).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1109(const Collection& _fuzz1109 ) && { fuzz1109 = ComponentBatch::from_loggable(_fuzz1109, Descriptor_fuzz1109).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1110(const Collection& _fuzz1110 ) && { fuzz1110 = ComponentBatch::from_loggable(_fuzz1110, Descriptor_fuzz1110).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1111(const Collection& _fuzz1111 ) && { fuzz1111 = ComponentBatch::from_loggable(_fuzz1111, Descriptor_fuzz1111).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1112(const Collection& _fuzz1112 ) && { fuzz1112 = ComponentBatch::from_loggable(_fuzz1112, Descriptor_fuzz1112).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1113(const Collection& _fuzz1113 ) && { fuzz1113 = ComponentBatch::from_loggable(_fuzz1113, Descriptor_fuzz1113).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1114(const Collection& _fuzz1114 ) && { fuzz1114 = ComponentBatch::from_loggable(_fuzz1114, Descriptor_fuzz1114).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1115(const Collection& _fuzz1115 ) && { fuzz1115 = ComponentBatch::from_loggable(_fuzz1115, Descriptor_fuzz1115).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1116(const Collection& _fuzz1116 ) && { fuzz1116 = ComponentBatch::from_loggable(_fuzz1116, Descriptor_fuzz1116).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1117(const Collection& _fuzz1117 ) && { fuzz1117 = ComponentBatch::from_loggable(_fuzz1117, Descriptor_fuzz1117).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1118(const Collection& _fuzz1118 ) && { fuzz1118 = ComponentBatch::from_loggable(_fuzz1118, Descriptor_fuzz1118).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer2 with_fuzz1122(const Collection& _fuzz1122 ) && { fuzz1122 = ComponentBatch::from_loggable(_fuzz1122, Descriptor_fuzz1122).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/tests/generated/archetypes/affix_fuzzer3.hpp b/rerun_cpp/tests/generated/archetypes/affix_fuzzer3.hpp index 8b208fdef9ac..eda8dad54100 100644 --- a/rerun_cpp/tests/generated/archetypes/affix_fuzzer3.hpp +++ b/rerun_cpp/tests/generated/archetypes/affix_fuzzer3.hpp @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -188,127 +187,109 @@ namespace rerun::archetypes { AffixFuzzer3 with_fuzz2001(const rerun::components::AffixFuzzer1& _fuzz2001) && { fuzz2001 = ComponentBatch::from_loggable(_fuzz2001, Descriptor_fuzz2001).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2002(const rerun::components::AffixFuzzer2& _fuzz2002) && { fuzz2002 = ComponentBatch::from_loggable(_fuzz2002, Descriptor_fuzz2002).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2003(const rerun::components::AffixFuzzer3& _fuzz2003) && { fuzz2003 = ComponentBatch::from_loggable(_fuzz2003, Descriptor_fuzz2003).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2004(const rerun::components::AffixFuzzer4& _fuzz2004) && { fuzz2004 = ComponentBatch::from_loggable(_fuzz2004, Descriptor_fuzz2004).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2005(const rerun::components::AffixFuzzer5& _fuzz2005) && { fuzz2005 = ComponentBatch::from_loggable(_fuzz2005, Descriptor_fuzz2005).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2006(const rerun::components::AffixFuzzer6& _fuzz2006) && { fuzz2006 = ComponentBatch::from_loggable(_fuzz2006, Descriptor_fuzz2006).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2007(const rerun::components::AffixFuzzer7& _fuzz2007) && { fuzz2007 = ComponentBatch::from_loggable(_fuzz2007, Descriptor_fuzz2007).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2008(const rerun::components::AffixFuzzer8& _fuzz2008) && { fuzz2008 = ComponentBatch::from_loggable(_fuzz2008, Descriptor_fuzz2008).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2009(const rerun::components::AffixFuzzer9& _fuzz2009) && { fuzz2009 = ComponentBatch::from_loggable(_fuzz2009, Descriptor_fuzz2009).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2010(const rerun::components::AffixFuzzer10& _fuzz2010) && { fuzz2010 = ComponentBatch::from_loggable(_fuzz2010, Descriptor_fuzz2010).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2011(const rerun::components::AffixFuzzer11& _fuzz2011) && { fuzz2011 = ComponentBatch::from_loggable(_fuzz2011, Descriptor_fuzz2011).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2012(const rerun::components::AffixFuzzer12& _fuzz2012) && { fuzz2012 = ComponentBatch::from_loggable(_fuzz2012, Descriptor_fuzz2012).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2013(const rerun::components::AffixFuzzer13& _fuzz2013) && { fuzz2013 = ComponentBatch::from_loggable(_fuzz2013, Descriptor_fuzz2013).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2014(const rerun::components::AffixFuzzer14& _fuzz2014) && { fuzz2014 = ComponentBatch::from_loggable(_fuzz2014, Descriptor_fuzz2014).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2015(const rerun::components::AffixFuzzer15& _fuzz2015) && { fuzz2015 = ComponentBatch::from_loggable(_fuzz2015, Descriptor_fuzz2015).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2016(const rerun::components::AffixFuzzer16& _fuzz2016) && { fuzz2016 = ComponentBatch::from_loggable(_fuzz2016, Descriptor_fuzz2016).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2017(const rerun::components::AffixFuzzer17& _fuzz2017) && { fuzz2017 = ComponentBatch::from_loggable(_fuzz2017, Descriptor_fuzz2017).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer3 with_fuzz2018(const rerun::components::AffixFuzzer18& _fuzz2018) && { fuzz2018 = ComponentBatch::from_loggable(_fuzz2018, Descriptor_fuzz2018).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } }; diff --git a/rerun_cpp/tests/generated/archetypes/affix_fuzzer4.hpp b/rerun_cpp/tests/generated/archetypes/affix_fuzzer4.hpp index 8564a33e9594..3da99e00180f 100644 --- a/rerun_cpp/tests/generated/archetypes/affix_fuzzer4.hpp +++ b/rerun_cpp/tests/generated/archetypes/affix_fuzzer4.hpp @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -189,144 +188,126 @@ namespace rerun::archetypes { ) && { fuzz2101 = ComponentBatch::from_loggable(_fuzz2101, Descriptor_fuzz2101).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2102(const Collection& _fuzz2102 ) && { fuzz2102 = ComponentBatch::from_loggable(_fuzz2102, Descriptor_fuzz2102).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2103(const Collection& _fuzz2103 ) && { fuzz2103 = ComponentBatch::from_loggable(_fuzz2103, Descriptor_fuzz2103).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2104(const Collection& _fuzz2104 ) && { fuzz2104 = ComponentBatch::from_loggable(_fuzz2104, Descriptor_fuzz2104).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2105(const Collection& _fuzz2105 ) && { fuzz2105 = ComponentBatch::from_loggable(_fuzz2105, Descriptor_fuzz2105).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2106(const Collection& _fuzz2106 ) && { fuzz2106 = ComponentBatch::from_loggable(_fuzz2106, Descriptor_fuzz2106).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2107(const Collection& _fuzz2107 ) && { fuzz2107 = ComponentBatch::from_loggable(_fuzz2107, Descriptor_fuzz2107).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2108(const Collection& _fuzz2108 ) && { fuzz2108 = ComponentBatch::from_loggable(_fuzz2108, Descriptor_fuzz2108).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2109(const Collection& _fuzz2109 ) && { fuzz2109 = ComponentBatch::from_loggable(_fuzz2109, Descriptor_fuzz2109).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2110(const Collection& _fuzz2110 ) && { fuzz2110 = ComponentBatch::from_loggable(_fuzz2110, Descriptor_fuzz2110).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2111(const Collection& _fuzz2111 ) && { fuzz2111 = ComponentBatch::from_loggable(_fuzz2111, Descriptor_fuzz2111).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2112(const Collection& _fuzz2112 ) && { fuzz2112 = ComponentBatch::from_loggable(_fuzz2112, Descriptor_fuzz2112).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2113(const Collection& _fuzz2113 ) && { fuzz2113 = ComponentBatch::from_loggable(_fuzz2113, Descriptor_fuzz2113).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2114(const Collection& _fuzz2114 ) && { fuzz2114 = ComponentBatch::from_loggable(_fuzz2114, Descriptor_fuzz2114).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2115(const Collection& _fuzz2115 ) && { fuzz2115 = ComponentBatch::from_loggable(_fuzz2115, Descriptor_fuzz2115).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2116(const Collection& _fuzz2116 ) && { fuzz2116 = ComponentBatch::from_loggable(_fuzz2116, Descriptor_fuzz2116).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2117(const Collection& _fuzz2117 ) && { fuzz2117 = ComponentBatch::from_loggable(_fuzz2117, Descriptor_fuzz2117).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } AffixFuzzer4 with_fuzz2118(const Collection& _fuzz2118 ) && { fuzz2118 = ComponentBatch::from_loggable(_fuzz2118, Descriptor_fuzz2118).value_or_throw(); - // See: https://github.com/rerun-io/rerun/issues/4027 - RR_WITH_MAYBE_UNINITIALIZED_DISABLED(return std::move(*this);) + return std::move(*this); } };