File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ std::vector<Eigen::Vector3f> generate_random_points_vector(int num_points) {
19
19
}
20
20
21
21
int main () {
22
- auto rec = rerun::RecordingStream (" rerun_example_cpp" );
23
- rec.spawn ().throw_on_failure ();
22
+ const auto rec = rerun::RecordingStream (" rerun_example_cpp" );
23
+ rec.spawn ().exit_on_failure ();
24
24
25
25
rec.log_timeless (" world" , rerun::ViewCoordinates::RIGHT_HAND_Z_UP); // Set an up-axis
26
26
@@ -57,7 +57,7 @@ int main() {
57
57
);
58
58
59
59
// Read image
60
- std::string image_path = " rerun-logo.png" ;
60
+ const auto image_path = " rerun-logo.png" ;
61
61
cv::Mat img = imread (image_path, cv::IMREAD_COLOR);
62
62
if (img.empty ()) {
63
63
std::cout << " Could not read the image: " << image_path << std::endl;
You can’t perform that action at this time.
0 commit comments