diff options
author | Colin Snover | 2017-10-06 21:05:38 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-06 22:10:50 -0500 |
commit | f037d4df1680aecefac2ffb240547385a74971d0 (patch) | |
tree | c9c5195328bae7ff7bc59b8c0adbbf2e6e3d717e /common/rect.h | |
parent | 79dd02373cb431adfceeb4be50366b7c084490d9 (diff) | |
download | scummvm-rg350-f037d4df1680aecefac2ffb240547385a74971d0.tar.gz scummvm-rg350-f037d4df1680aecefac2ffb240547385a74971d0.tar.bz2 scummvm-rg350-f037d4df1680aecefac2ffb240547385a74971d0.zip |
COMMON: Allow construction of Arrays of non-copyable members
Although the previous count-constructor would never make a copy of
a member at runtime, Array<T>::reserve *may* copy-construct, so
the compiler would forbid creation of arrays of NonCopyable objects
even when the array was created only once and then never resized
(and thus never actually tried to perform a copy-construction).
Diffstat (limited to 'common/rect.h')
0 files changed, 0 insertions, 0 deletions