Skip to content

Commit

Permalink
*: Rm deprecated whitespace for suffix operators
Browse files Browse the repository at this point in the history
This fails in toolchain canary builders:
https://ci.chromium.org/ui/b/8733985529528995825

Change-Id: I962e1bba7198a5a2e574fedd97d9be3fd36f6f61
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/242334
Presubmit-Verified: CQ Bot Account <[email protected]>
Lint: Lint 🤖 <[email protected]>
Pigweed-Auto-Submit: Rob Mohr <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Reviewed-by: Dave Roth <[email protected]>
  • Loading branch information
mohrr authored and CQ Bot Account committed Oct 16, 2024
1 parent 8639b56 commit 5574faa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pw_bytes/docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pw_bytes/suffix.h
This module exports a single ``_b`` literal, making it easier to create
``std::byte`` values for tests.

.. cpp:function:: constexpr std::byte operator"" _b(unsigned long long value)
.. cpp:function:: constexpr std::byte operator""_b(unsigned long long value)

.. note::
This should not be used in header files, as it requires a ``using``
Expand Down
2 changes: 1 addition & 1 deletion pw_channel/loopback_channel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using ::pw::async2::Pending;
using ::pw::async2::Poll;
using ::pw::async2::Ready;
using ::pw::async2::Task;
using ::pw::operator"" _b;
using ::pw::operator""_b;
using ::pw::channel::DatagramReader;
using ::pw::channel::LoopbackByteChannel;
using ::pw::channel::LoopbackDatagramChannel;
Expand Down
2 changes: 1 addition & 1 deletion pw_hdlc/router_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using ::pw::async2::Poll;
using ::pw::async2::Ready;
using ::pw::async2::Task;
using ::pw::async2::Waker;
using ::pw::operator"" _b;
using ::pw::operator""_b;
using ::pw::channel::DatagramReader;
using ::pw::channel::DatagramWriter;
using ::pw::channel::ForwardingByteChannelPair;
Expand Down
2 changes: 1 addition & 1 deletion pw_multibuf/chunk_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using ::pw::allocator::test::AllocatorForTest;
///
/// This is useful for writing size-related test assertions without
/// explicit (verbose) casts.
constexpr size_t operator"" _size(unsigned long long n) { return n; }
constexpr size_t operator""_size(unsigned long long n) { return n; }

const size_t kArbitraryAllocatorSize = 1024;
const size_t kArbitraryChunkSize = 32;
Expand Down

0 comments on commit 5574faa

Please sign in to comment.