mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 23:55:24 +02:00
apply Q_DISABLE_COPY to MyHead (cleaning up the likely-bug in the existing code)
This commit is contained in:
parent
57a3cd3d63
commit
c88b7f6064
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue