aboutsummaryrefslogtreecommitdiff
path: root/src/core/settings.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-07 16:32:10 -0500
committerLioncash <mathew1800@gmail.com>2019-03-07 17:05:44 -0500
commitb20657a36f909e2bb7e2b8e171c6718d5a3149d6 (patch)
tree60c2fb5b76547165dd900a82179577b08b4ff7f5 /src/core/settings.cpp
parent95fff8fd23ccc5bdc2db2d4f07ccdeb31fd4edf6 (diff)
common/bit_field: Make BitField trivially copyable
This makes the class much more flexible and doesn't make performing copies with classes that contain a bitfield member a pain. Given BitField instances are only intended to be used within unions, the fact the full storage value would be copied isn't a big concern (only sizeof(union_type) would be copied anyways). While we're at it, provide defaulted move constructors for consistency.
Diffstat (limited to 'src/core/settings.cpp')
0 files changed, 0 insertions, 0 deletions