mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[PR #1673] [MERGED] Prefer std::string::rbegin over operator[] #2108
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1673
Author: @gaul
Created: 6/5/2021
Status: ✅ Merged
Merged: 6/13/2021
Merged by: @ggtakec
Base:
master← Head:rbegin📝 Commits (1)
4d35217Prefer std::string::rbegin over operator[]📊 Changes
5 files changed (+22 additions, -22 deletions)
View changed files
📝
src/cache.cpp(+3 -3)📝
src/curl_util.cpp(+2 -2)📝
src/s3fs.cpp(+12 -12)📝
src/s3fs_xml.cpp(+1 -1)📝
src/s3objlist.cpp(+4 -4)📄 Description
This is more concise and safer due to not repeating the variable name.
We cannot use
std::string::backsince it is not available in C++03.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.