Skip to content

Commit 4209cf0

Browse files
committed
clang format
1 parent 472f40f commit 4209cf0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

inst/include/cpp11/external_pointer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace cpp11 {
1414

1515
// @pachadotdev: + noexcept
1616
template <typename T>
17-
void default_deleter(T* obj) noexcept{
17+
void default_deleter(T* obj) noexcept {
1818
delete obj;
1919
}
2020

inst/include/cpp11/r_vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ inline typename r_vector<T>::const_iterator r_vector<T>::begin() const noexcept
649649

650650
// @pachadotdev: + noexcept
651651
template <typename T>
652-
inline typename r_vector<T>::const_iterator r_vector<T>::end() const noexcept{
652+
inline typename r_vector<T>::const_iterator r_vector<T>::end() const noexcept {
653653
return const_iterator(this, length_);
654654
}
655655

inst/include/cpp11/raws.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ namespace writable {
6969

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

0 commit comments

Comments
 (0)