mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 13:15:39 +08:00
Added protected CBaseStreamStringifier::operator=() as discussed in https://dev.vatsim-germany.org/boards/15/topics/497
This commit is contained in:
@@ -125,6 +125,13 @@ protected:
|
|||||||
*/
|
*/
|
||||||
virtual QString stringForConverter() const = 0;
|
virtual QString stringForConverter() const = 0;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Copy assignment operator.
|
||||||
|
* This is protected in order to forbid slicing an instance of one derived
|
||||||
|
* class into an instance of a completely unrelated derived class.
|
||||||
|
* \return
|
||||||
|
*/
|
||||||
|
CBaseStreamStringifier& operator=(const CBaseStreamStringifier&) { return *this; }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user