Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7698ff2c authored by Frederick Mayle's avatar Frederick Mayle
Browse files

libbinder: Prettier initializer for bitset field

Bug: 185909244
Test: TH
Change-Id: I549f64de25911cafc618921875c68b643a847605
parent 69a0c998
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -203,8 +203,8 @@ private:
    size_t mMaxThreads = 1;
    std::optional<uint32_t> mProtocolVersion;
    // A mode is supported if the N'th bit is on, where N is the mode enum's value.
    std::bitset<8> mSupportedFileDescriptorTransportModes =
            (1 << static_cast<unsigned long>(RpcSession::FileDescriptorTransportMode::NONE));
    std::bitset<8> mSupportedFileDescriptorTransportModes = std::bitset<8>().set(
            static_cast<size_t>(RpcSession::FileDescriptorTransportMode::NONE));
    base::unique_fd mServer; // socket we are accepting sessions on

    std::mutex mLock; // for below