Skip to content

Commit ddf5300

Browse files
committed
rollback strings
1 parent e0229d5 commit ddf5300

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

inst/include/cpp11/strings.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ inline r_vector<r_string>::r_vector(std::initializer_list<r_string> il)
132132

133133
typedef r_vector<r_string> strings;
134134

135-
// @pachadotdev:
136-
// 1st name - reserve one slot, then emplace
137-
// 2nd, 3rd, ..., Nth name: reserve exactly one more, then emplace
138135
template <typename T>
139136
inline void r_vector<T>::push_back(const named_arg& value) {
140137
push_back(value.value());
@@ -145,6 +142,7 @@ inline void r_vector<T>::push_back(const named_arg& value) {
145142
cpp11::writable::strings nms(names());
146143
nms[size() - 1] = value.name();
147144
}
145+
148146
} // namespace writable
149147

150148
} // namespace cpp11

0 commit comments

Comments
 (0)