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

Commit af494c65 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove virtual from ~ComposerClientWriter

This class has no other virtual methods, and it has no subclasses, so
it's unclear why it had a virtual destructor.

Bug: NA
Test: make
Change-Id: Ic87fe6596b6d796ca11822de53af2e4e521f127d
parent 36117a15
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -59,13 +59,13 @@ using aidl::android::hardware::common::NativeHandle;


namespace aidl::android::hardware::graphics::composer3 {
namespace aidl::android::hardware::graphics::composer3 {


class ComposerClientWriter {
class ComposerClientWriter final {
  public:
  public:
    static constexpr std::optional<ClockMonotonicTimestamp> kNoTimestamp = std::nullopt;
    static constexpr std::optional<ClockMonotonicTimestamp> kNoTimestamp = std::nullopt;


    ComposerClientWriter() { reset(); }
    ComposerClientWriter() { reset(); }


    virtual ~ComposerClientWriter() { reset(); }
    ~ComposerClientWriter() { reset(); }


    void reset() {
    void reset() {
        mDisplayCommand.reset();
        mDisplayCommand.reset();