aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/to_device.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-18 19:00:07 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-18 20:09:43 +0200
commit3c28d13c1a61999e7c3141f3ca08b5b734bd160c (patch)
tree26e2b8a90ec353dffdecc48d285693c2fdfacaa3 /lib/csapi/to_device.h
parente05402045261a404ad5d8add63b82672d3d9aebb (diff)
downloadlibquotient-3c28d13c1a61999e7c3141f3ca08b5b734bd160c.tar.gz
libquotient-3c28d13c1a61999e7c3141f3ca08b5b734bd160c.zip
Introduce to_array() to fix building on macOS
A previous incarnation, make_array, existed in basejob.cpp before. The new direction taken by C++20 is to either deduce the array (but the used Apple standard library doesn't have deduction guides yet) or to use to_array() that converts a C array to std::array. This latter option is taken here, with to_array() defined in quotient_common.h until we move over to C++20.
Diffstat (limited to 'lib/csapi/to_device.h')
0 files changed, 0 insertions, 0 deletions