summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-03 16:10:08 -0400
committerLioncash <mathew1800@gmail.com>2019-06-03 16:56:46 -0400
commitb46e615551b830eb2acb6a9d7eb3b97f2eb65216 (patch)
treee93132f19e47688da0f4ca9c5e381597622a117d /src/input_common/sdl/sdl_impl.h
parent7ea07c60633e2f775dc06e8d58b25ffa0e4dd312 (diff)
input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handling
The deleter can just be set in the constructor and maintained throughout the lifetime of the object. If a contained pointer is null, then the deleter won't execute, so this is safe to do. We don't need to swap it out with a version of a deleter that does nothing.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
0 files changed, 0 insertions, 0 deletions