summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-10-14 20:12:16 -0400
committerLioncash <mathew1800@gmail.com>2016-10-14 20:27:22 -0400
commitd9eb7c4e803ecc277cb7456db7627a5b761ea7bf (patch)
tree005154f2325c016b307511cf30e9500226dcd2d3 /Source/Core/InputCommon/ControllerInterface/evdev
parent183f3c375971233213bbc4a222a76c8f3940ebe5 (diff)
NANDContentLoader: Add IOFile forward declaration
This would previously fail to compile when included in files that do not include FileUtil.h due to lack of a type declaration. This moves the constructor and destructor into the cpp file in order to satisfy the requirements of unique_ptr construction and deletion. That is, unique_ptr requires a concrete type at the point of construction and destruction. If the constructor or destructor is left in the header, then at the point of construction or destruction, IOFile will still be considered an incomplete type, as unique_ptr's deleter will still only be able to see the forward declaration, which it can't use.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions