aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/typing.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-05-19 08:54:00 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-05-19 08:54:00 +0900
commit626b2711a49e581babafd179ce362a1c88db8b85 (patch)
treec0752a7efbddb6f769165053aa6d0380748c2839 /lib/csapi/typing.h
parentbb6d33182269425d98f7aa4e22aa5478cff57550 (diff)
downloadlibquotient-626b2711a49e581babafd179ce362a1c88db8b85.tar.gz
libquotient-626b2711a49e581babafd179ce362a1c88db8b85.zip
Connection: use QScopedPointer instead of unique_ptr
While theoretically less robust (no equivalent of make_unique), QScopedPointer is navigable in Qt Creator debug views, unlike unique_ptr. Of course this will eventually be fixed; but given that inability to create an owning pointer object means sure abnormal termination of our code shortly afterwards, having make_unique in this particular case doesn't help in any way at all; so unique_ptr has zero advantages over QScopedPointer in this setting.
Diffstat (limited to 'lib/csapi/typing.h')
0 files changed, 0 insertions, 0 deletions