diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-04-11 13:14:36 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-04-11 22:09:30 +0000 |
commit | 16c32710bc8a5ecefc833352159361be564f3fe4 (patch) | |
tree | 0c383dd3834aa49ef8bb5d67c5f98fd63080c61f /config.tests/unix | |
parent | 11bd02e4c2f96d904c532e568089596af02e8593 (diff) |
QPointer: add a static assertion to help the user when using a wrong template type
Sometimes people mistype QPointer<Foo *> when they actually must
use QPointer<Foo>, add a static assertion for an improved error message
(rather than the usual weird template mess).
Change-Id: Ic77e3e752ac1906b94f3432eaededf0f7a2737be
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'config.tests/unix')
0 files changed, 0 insertions, 0 deletions