summaryrefslogtreecommitdiffstats
path: root/examples/opengl/qopenglwindow/background_renderer.cpp
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2019-05-13 15:10:36 +0200
committerMarc Mutz <[email protected]>2019-07-24 18:06:30 +0200
commitc13bb2a66aa2eda89cbb437ea7c7a8c2c0fe8cc6 (patch)
tree94d6b0b0746dbd82c4b0a4a51a6cb28d1c67655e /examples/opengl/qopenglwindow/background_renderer.cpp
parentfd42589b14041d620c51fd7d23877c2749767fb3 (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