Skip to content

Commit f68b0b6

Browse files
committed
c++26 does not yet support the word 'stdout', but we'll get there i promise
1 parent f8a9054 commit f68b0b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/cpp/stdio/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
int main() {
77
const auto rec = rerun::RecordingStream("rerun_example_stdio");
8-
rec.stdout().exit_on_failure();
8+
rec.to_stdout().exit_on_failure();
99

1010
std::string input;
1111
std::string line;

rerun_cpp/src/rerun/recording_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ namespace rerun {
128128
return status;
129129
}
130130

131-
Error RecordingStream::stdout() const {
131+
Error RecordingStream::to_stdout() const {
132132
rr_error status = {};
133133
rr_recording_stream_stdout(_id, &status);
134134
return status;

rerun_cpp/src/rerun/recording_stream.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ namespace rerun {
174174
/// This function returns immediately.
175175
Error save(std::string_view path) const;
176176

177-
/// Stream all log-data to stdout.
177+
/// Stream all log-data to standard output.
178178
///
179179
/// Pipe the result into the Rerun Viewer to visualize it.
180180
///
181181
/// If there isn't any listener at the other end of the pipe, the `RecordingStream` will
182182
/// default back to `buffered` mode, in order not to break the user's terminal.
183183
///
184184
/// This function returns immediately.
185-
Error stdout() const;
185+
Error to_stdout() const;
186186

187187
/// Initiates a flush the batching pipeline and waits for it to propagate.
188188
///

0 commit comments

Comments
 (0)