Skip to content

Commit

Permalink
fix clang format (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 authored Oct 10, 2024
1 parent c56096b commit 2042d59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions examples/universal/z_ping.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ int _main(int argc, char** argv) {
}
auto rtt =
std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start).count();
std::cout << payload_size << " bytes: seq=" << i << " rtt=" << rtt << "µs"
<< " lat=" << rtt / 2 << "µs\n";
std::cout << payload_size << " bytes: seq=" << i << " rtt=" << rtt << "µs" << " lat=" << rtt / 2 << "µs\n";
}
lock.unlock();
return 0;
Expand Down
3 changes: 1 addition & 2 deletions examples/universal/z_put.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ int _main(int argc, char **argv) {
std::cout << "Opening session...\n";
auto session = Session::open(std::move(config));

std::cout << "Putting Data ("
<< "'" << keyexpr << "': '" << value << "')...\n";
std::cout << "Putting Data (" << "'" << keyexpr << "': '" << value << "')...\n";

Session::PutOptions put_options;
put_options.encoding = Encoding("text/plain");
Expand Down
3 changes: 1 addition & 2 deletions examples/zenohc/z_ping_shm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ int _main(int argc, char** argv) {
}
auto rtt =
std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start).count();
std::cout << payload_size << " bytes: seq=" << i << " rtt=" << rtt << "µs"
<< " lat=" << rtt / 2 << "µs\n";
std::cout << payload_size << " bytes: seq=" << i << " rtt=" << rtt << "µs" << " lat=" << rtt / 2 << "µs\n";
}
lock.unlock();
return 0;
Expand Down

0 comments on commit 2042d59

Please sign in to comment.