forked from qt-creator/qt-creator
Coding style: mention inlined virtual dtors
in exported classes Change-Id: I9ff274f05e26baa9d4377f69b0ba441606893357 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -1093,6 +1093,10 @@
|
||||
|
||||
for (Container::const_iterator it = c.begin(); it != c.end(); ++it)
|
||||
\endcode
|
||||
|
||||
\li Do not inline virtual destructors in exported classes. This leads to duplicated vtables
|
||||
in dependent plugins and this can also break RTTI. See
|
||||
\l {https://bugreports.qt.io/browse/QTBUG-45582}{QTBUG-45582}.
|
||||
\endlist
|
||||
|
||||
\section2 Esthetics
|
||||
|
||||
Reference in New Issue
Block a user