From 370bb25981ddc6a8d6e6e19f17a7c766a4859372 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Thu, 17 Aug 2023 13:06:12 +0200 Subject: [PATCH] codegen --- crates/re_types/source_hash.txt | 2 +- rerun_cpp/src/rerun/archetypes/annotation_context.hpp | 2 +- rerun_cpp/src/rerun/archetypes/arrows3d.hpp | 2 +- rerun_cpp/src/rerun/archetypes/disconnected_space.hpp | 2 +- rerun_cpp/src/rerun/archetypes/line_strips2d.hpp | 4 ++-- rerun_cpp/src/rerun/archetypes/line_strips3d.hpp | 4 ++-- rerun_cpp/src/rerun/archetypes/points3d.hpp | 2 +- rerun_cpp/src/rerun/archetypes/transform3d.hpp | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/crates/re_types/source_hash.txt b/crates/re_types/source_hash.txt index e616f2760cd0..4c02f2632572 100644 --- a/crates/re_types/source_hash.txt +++ b/crates/re_types/source_hash.txt @@ -1,4 +1,4 @@ # This is a sha256 hash for all direct and indirect dependencies of this crate's build script. # It can be safely removed at anytime to force the build script to run again. # Check out build.rs to see how it's computed. -bc4dc84dd4a9c8581e38b94a991cdb80c418f6cbe39e1b530f33cdd0deb20d32 +cc08a1608948ac01f58350d37a5fbf60ebbbdffeadee919a84237aa155b3642b diff --git a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp index 4c4f8c205e48..0378cc4ee37d 100644 --- a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp +++ b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp @@ -31,7 +31,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("annotation_context_rects"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// // Log an annotation context to assign a label and color to each class /// rr_stream.log( diff --git a/rerun_cpp/src/rerun/archetypes/arrows3d.hpp b/rerun_cpp/src/rerun/archetypes/arrows3d.hpp index 2f601a79095f..4bc189642d40 100644 --- a/rerun_cpp/src/rerun/archetypes/arrows3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/arrows3d.hpp @@ -36,7 +36,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("arrow3d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// std::vector vectors; /// std::vector colors; diff --git a/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp b/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp index 439a5f9aea98..23548f0b0500 100644 --- a/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp +++ b/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp @@ -30,7 +30,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("disconnected_space"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// // These two points can be projected into the same space.. /// rr_stream.log( diff --git a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp index b4ade4e598b2..87851178b295 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp @@ -34,7 +34,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("line_strip2d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// std::vector strip1 = {{0.f, 0.f}, {2.f, 1.f}, {4.f, -1.f}, /// {6.f, 0.f}}; std::vector strip2 = @@ -60,7 +60,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("line_segments2d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// std::vector points = {{0.f, 0.f}, {2.f, 1.f}, {4.f, -1.f}, /// {6.f, 0.f}}; rr_stream.log("strips", rr::archetypes::LineStrips2D(points)); diff --git a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp index 9fc8e0bb732f..a18bcc82599f 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp @@ -33,7 +33,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("line_strip3d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// std::vector strip1 = { /// {0.f, 0.f, 2.f}, @@ -71,7 +71,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("line_segments3d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// std::vector points = { /// {0.f, 0.f, 0.f}, diff --git a/rerun_cpp/src/rerun/archetypes/points3d.hpp b/rerun_cpp/src/rerun/archetypes/points3d.hpp index 3ea3fc242b04..0f53488f0765 100644 --- a/rerun_cpp/src/rerun/archetypes/points3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/points3d.hpp @@ -33,7 +33,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("points3d_simple"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// rr_stream.log("points", rr::archetypes::Points3D({{0.0f, 0.0f, 0.0f}, /// {1.0f, 1.0f, 1.0f}})); diff --git a/rerun_cpp/src/rerun/archetypes/transform3d.hpp b/rerun_cpp/src/rerun/archetypes/transform3d.hpp index 671de264adac..4f3b33e3561e 100644 --- a/rerun_cpp/src/rerun/archetypes/transform3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/transform3d.hpp @@ -30,7 +30,7 @@ namespace rerun { /// /// int main() { /// auto rr_stream = rr::RecordingStream("transform3d"); - /// rr_stream.connect("127.0.0.1:9876"); + /// rr_stream.connect("127.0.0.1:9876").throw_on_failure(); /// /// auto arrow = rr::archetypes::Arrows3D({0.0f, 1.0f, 0.0f}); ///