Skip to content

Commit 3c6e5c6

Browse files
committed
clang fmt
1 parent 5114411 commit 3c6e5c6

File tree

6 files changed

+1313
-1448
lines changed

6 files changed

+1313
-1448
lines changed

inst/include/cpp11/list_of.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,13 @@ class list_of : public writable::list {
5454

5555
#ifdef LONG_VECTOR_SUPPORT
5656
proxy operator[](int pos) {
57-
return { writable::list::operator[](static_cast<R_xlen_t>(pos)) };
57+
return {writable::list::operator[](static_cast<R_xlen_t>(pos))};
5858
}
5959
#endif
6060

6161
proxy operator[](R_xlen_t pos) { return writable::list::operator[](pos); }
6262

63-
proxy operator[](const char* pos) {
64-
return { writable::list::operator[](pos) };
65-
}
63+
proxy operator[](const char* pos) { return {writable::list::operator[](pos)}; }
6664

6765
proxy operator[](const std::string& pos) {
6866
return writable::list::operator[](pos.c_str());

0 commit comments

Comments
 (0)