Remove explicitly defined copy operator for style::internal::Font
It was equivalent of default copy operator generated by compiler itself. Removing this copy operation, we do not change behavior of the code but resolve the -Wdeprecated-copy warning from GCC.
This commit is contained in:
parent
6d97ae0bce
commit
4c165ea446
1 changed files with 0 additions and 5 deletions
|
|
@ -28,11 +28,6 @@ public:
|
|||
Font(int size, uint32 flags, const QString &family);
|
||||
Font(int size, uint32 flags, int family);
|
||||
|
||||
Font &operator=(const Font &other) {
|
||||
ptr = other.ptr;
|
||||
return (*this);
|
||||
}
|
||||
|
||||
FontData *operator->() const {
|
||||
return ptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue