Skip to content

Commit

Permalink
try removing RR_WITH_MAYBE_UNINITIALIZED_DISABLED from builder meth…
Browse files Browse the repository at this point in the history
…ods 🤞🤞🤞
  • Loading branch information
Wumpf committed Jan 22, 2025
1 parent 6718d1c commit 76d2278
Show file tree
Hide file tree
Showing 63 changed files with 306 additions and 678 deletions.
8 changes: 1 addition & 7 deletions crates/build/re_types_builder/src/codegen/cpp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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,
});
Expand Down
4 changes: 1 addition & 3 deletions rerun_cpp/src/rerun/archetypes/annotation_context.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 8 additions & 17 deletions rerun_cpp/src/rerun/archetypes/arrows2d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 7 additions & 15 deletions rerun_cpp/src/rerun/archetypes/arrows3d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions rerun_cpp/src/rerun/archetypes/asset3d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions rerun_cpp/src/rerun/archetypes/asset_video.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions rerun_cpp/src/rerun/archetypes/bar_chart.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 8 additions & 17 deletions rerun_cpp/src/rerun/archetypes/boxes2d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 76d2278

Please sign in to comment.