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

Commit d3be58f0 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Libbase: NOLINT legacy unique_fd operator int"

am: d9e73a00

Change-Id: I718c08d8cda742627abe192eec6e2c1ed3ac2c83
parents b48372c5 d9e73a00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class unique_fd_impl final {
  void reset(int new_value = -1) { reset(new_value, nullptr); }

  int get() const { return fd_; }
  operator int() const { return get(); }
  operator int() const { return get(); }  // NOLINT

  int release() __attribute__((warn_unused_result)) {
    tag(fd_, this, nullptr);