diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-16 12:04:31 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-18 23:34:52 +0200 |
commit | 107ff4c1d6b5da2cb11c65b2bd9106817f7fdb02 (patch) | |
tree | e0c79bac217c10fd6d25fa9c4155f2003f6636df /tests/auto/sql/kernel/qsqldriver | |
parent | bbe7570ddcc6fcce707a355b76d2d0024c44ea38 (diff) |
Q(Any|Utf8)StringView: move array size deduction feature to fromArray
The constructor taking an array literal will now stop at the first
null-terminator encountered.
And fromArray is introduced which only supports array literals.
Constructs a view of the full size. Explicit so it shouldn't be
surprising.
Change-Id: I1497c33a5c12453a95e87c990abe6335b2817081
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldriver')
0 files changed, 0 insertions, 0 deletions