Port to/improve compat with std::ranges::: sql/
Bug: 386918226 Change-Id: I5f1163abb78fe04c49f7b44fcc94e2455b208469 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6179107 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by: Olivier Li <olivierli@chromium.org> Commit-Queue: Olivier Li <olivierli@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1407419}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
01d43cc7df
commit
45eb7989e9
@ -663,8 +663,9 @@ int TestVfsFullPathname(sqlite3_vfs* vfs,
|
||||
|
||||
// `copy()` returns an output iterator just past the last char copied. Write
|
||||
// the string terminator to that location.
|
||||
*base::ranges::copy(file_path_view,
|
||||
base::span(result, expected_result_size).begin()) = 0;
|
||||
*std::ranges::copy(file_path_view,
|
||||
base::span(result, expected_result_size).begin())
|
||||
.out = 0;
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user