Skip to content

Commit

Permalink
trying to appease arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 5, 2024
1 parent 470cbd3 commit e9be108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/snippets/all/descriptors/descr_custom_archetype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int main() {
const auto rec = rerun::RecordingStream("rerun_example_descriptors_custom_archetype");
rec.spawn().exit_on_failure();

CustomPosition3D positions[1] = {rerun::components::Position3D{1.0f, 2.0f, 3.0f}};
CustomPosition3D positions[1] = {{rerun::components::Position3D{1.0f, 2.0f, 3.0f}}};
rerun::Color colors[1] = {rerun::Color(0xFF00FFFF)};

rec.log_static("data", CustomPoints3D{positions, colors});
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/all/descriptors/descr_custom_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int main() {
const auto rec = rerun::RecordingStream("rerun_example_descriptors_custom_component");
rec.spawn().exit_on_failure();

CustomPosition3D positions[1] = {rerun::components::Position3D{1.0f, 2.0f, 3.0f}};
CustomPosition3D positions[1] = {{rerun::components::Position3D{1.0f, 2.0f, 3.0f}}};
rec.log_static("data", positions);

// The tags are indirectly checked by the Rust version (have a look over there for more info).
Expand Down

0 comments on commit e9be108

Please sign in to comment.