Skip to content

Commit

Permalink
pw_bluetooth_sapphire: Apply clang-format findings
Browse files Browse the repository at this point in the history
Change-Id: I8db2425db86977d9054360b5c0c0871c3552e3fd
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/260615
Lint: Lint 🤖 <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Docs-Not-Needed: Armando Montanez <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Pigweed-Auto-Submit: Armando Montanez <[email protected]>
Reviewed-by: Anthony DiGirolamo <[email protected]>
  • Loading branch information
armandomontanez authored and CQ Bot Account committed Jan 16, 2025
1 parent 1cc5512 commit 2558be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pw_bluetooth_sapphire/host/common/byte_buffer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ TEST(ByteBufferTest, MutableByteBufferAsMutableStruct) {

TEST(ByteBufferTest, MutableByteBufferAsMutableArray) {
StaticByteBuffer buf(10, 12);
uint8_t(&array)[2] = *buf.AsMutable<uint8_t[2]>();
uint8_t (&array)[2] = *buf.AsMutable<uint8_t[2]>();
++array[0];
++array[1];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ LowEnergyDiscoveryManager::AddSession(bool active) {
RemoveSession(session_to_remove);
};
auto cached_scan_results_fn =
[this]() -> const decltype(cached_scan_results_)& {
[this]() -> const decltype(cached_scan_results_) & {
return this->cached_scan_results_;
};
auto session = std::make_unique<LowEnergyDiscoverySession>(
Expand Down

0 comments on commit 2558be0

Please sign in to comment.