Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Feb 10, 2025
1 parent 7cd49d5 commit 3b18ec4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion rerun_cpp/src/rerun/c/rerun.h

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

7 changes: 6 additions & 1 deletion rerun_cpp/src/rerun/recording_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,12 @@ namespace rerun {

Error RecordingStream::connect_grpc(std::string_view url, float flush_timeout_sec) const {
rr_error status = {};
rr_recording_stream_connect_grpc(_id, detail::to_rr_string(url), flush_timeout_sec, &status);
rr_recording_stream_connect_grpc(
_id,
detail::to_rr_string(url),
flush_timeout_sec,
&status
);
return status;
}

Expand Down
4 changes: 3 additions & 1 deletion rerun_cpp/src/rerun/recording_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ namespace rerun {
/// timeout, and can cause a call to `flush` to block indefinitely.
///
/// This function returns immediately.
Error connect_grpc(std::string_view url = "http://127.0.0.1:9876", float flush_timeout_sec = 2.0) const;
Error connect_grpc(
std::string_view url = "http://127.0.0.1:9876", float flush_timeout_sec = 2.0
) const;

/// Spawns a new Rerun Viewer process from an executable available in PATH, then connects to it
/// over gRPC.
Expand Down

0 comments on commit 3b18ec4

Please sign in to comment.