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

Commit efdd2aac authored by hscham's avatar hscham Committed by Grace Cham
Browse files

bt: use delete ctor instead of DISALLOW_COPY_AND_ASSIGN

Chromium now follows Google C++ styleguide (crbug/1010217).
DISALLOW_COPY_AND_ASSIGN will be deprecated, and delete the copy
copy constructors and assign operators instead explicitly is recommended.

Bug: 190446478
Tag: #floss
Test: FEATURES=test emerge-zork-floss floss

Change-Id: Ic268aa8fee941dd66d1857dae73a6b4b40c34979
parent 506d63e9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -56,6 +56,9 @@ struct BigCallbacks {
class IsoManager {
 public:
  IsoManager();
  IsoManager(const IsoManager&) = delete;
  IsoManager& operator=(const IsoManager&) = delete;

  virtual ~IsoManager();

  static IsoManager* GetInstance() {
@@ -232,8 +235,6 @@ class IsoManager {
 private:
  struct impl;
  std::unique_ptr<impl> pimpl_;

  DISALLOW_COPY_AND_ASSIGN(IsoManager);
};

}  // namespace hci