aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/globals.h
diff options
context:
space:
mode:
authorColin Snover2017-09-21 16:30:22 -0500
committerEugene Sandulenko2017-09-30 11:17:53 +0200
commit4938d5cc76b0ba1037be1b9b589dd2093c62509f (patch)
tree4ceab840b86bbffe635e1007ede5abc6bb747424 /engines/mads/globals.h
parentc867a1834ff9ac08214b19e34a71aeae215f00a4 (diff)
downloadscummvm-rg350-4938d5cc76b0ba1037be1b9b589dd2093c62509f.tar.gz
scummvm-rg350-4938d5cc76b0ba1037be1b9b589dd2093c62509f.tar.bz2
scummvm-rg350-4938d5cc76b0ba1037be1b9b589dd2093c62509f.zip
COMMON: Add standard data method to Common::Array
This matches the C++11 std::vector method of the same name, and replaces usage of taking the address of the first element of an array by &array[0] or &array.front() or &*array.begin(). The data method is better than these usages because it can be used even when the array is empty.
Diffstat (limited to 'engines/mads/globals.h')
0 files changed, 0 insertions, 0 deletions