diff options
author | Marc Mutz <[email protected]> | 2019-05-13 15:10:36 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2019-07-24 18:06:30 +0200 |
commit | c13bb2a66aa2eda89cbb437ea7c7a8c2c0fe8cc6 (patch) | |
tree | 94d6b0b0746dbd82c4b0a4a51a6cb28d1c67655e /examples/opengl/qopenglwindow/background_renderer.cpp | |
parent | fd42589b14041d620c51fd7d23877c2749767fb3 (diff) |
QObject: replace QScopedPointer with std::unique_ptr in the implementation
Use the standard tool instead of self-made stuff that cannot decide whether
it wants to be a scoped pointer (why take()?) or a movable one (why no move
special member functions?).
Take advantage of C++11 local structs for pulling the custom deleter into
the scope where its only user is located, too.
Change-Id: I7e097a59edef9adc8455504ae94b8df0f8b9e5d2
Reviewed-by: Thiago Macieira <[email protected]>
Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'examples/opengl/qopenglwindow/background_renderer.cpp')
0 files changed, 0 insertions, 0 deletions