Skip to content

Commit 8fdaaef

Browse files
committed
clang format
1 parent b0b3f47 commit 8fdaaef

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

inst/include/cpp11/data_frame.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ class data_frame : public cpp11::data_frame {
8989
using cpp11::data_frame::ncol;
9090
using cpp11::data_frame::nrow;
9191

92-
attribute_proxy<data_frame> attr(const char* name) const const {
93-
return {*this, name};
94-
}
92+
attribute_proxy<data_frame> attr(const char* name) const const { return {*this, name}; }
9593

9694
attribute_proxy<data_frame> attr(const std::string& name) const {
9795
return {*this, name.c_str()};

inst/include/cpp11/named_arg.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ class named_arg {
3939

4040
namespace literals {
4141

42-
inline named_arg operator""_nm(const char* name, std::size_t) {
43-
return named_arg(name);
44-
}
42+
inline named_arg operator""_nm(const char* name, std::size_t) { return named_arg(name); }
4543

4644
} // namespace literals
4745

inst/include/cpp11/raws.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ typedef r_vector<uint8_t> raws;
6868
namespace writable {
6969

7070
template <>
71-
inline void r_vector<uint8_t>::set_elt(
72-
SEXP x, R_xlen_t i, typename r_vector::underlying_type value) {
71+
inline void r_vector<uint8_t>::set_elt(SEXP x, R_xlen_t i,
72+
typename r_vector::underlying_type value) {
7373
// NOPROTECT: Likely too costly to unwind protect every set elt
7474
#if R_VERSION >= R_Version(4, 2, 0)
7575
SET_RAW_ELT(x, i, value);

0 commit comments

Comments
 (0)