apply Q_DISABLE_COPY to MyHead (cleaning up the likely-bug in the existing code)

This commit is contained in:
Heather Anderson 2021-09-19 17:52:02 -07:00
parent 57a3cd3d63
commit c88b7f6064

View file

@ -22,9 +22,7 @@ public:
void simulate(float deltaTime) override;
private:
// disallow copies of the Head, copy of owning Avatar is disallowed too
MyHead(const Head&) = delete;
MyHead& operator= (const MyHead&) = delete;
Q_DISABLE_COPY(MyHead)
};
#endif // hifi_MyHead_h