Skip to content

Commit 5217ded

Browse files
committed
use SEXP
1 parent 812e6ce commit 5217ded

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/include/cpp11/matrix.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ class matrix : public matrix_slices<S> {
189189

190190
operator SEXP() const { return SEXP(vector_); }
191191

192-
attribute_proxy<V> attr(const char* name) { return vector_.attr(name); }
192+
SEXP attr(const char* name) { return vector_.attr(name); }
193193

194-
attribute_proxy<V> attr(const std::string& name) { return vector_.attr(name); }
194+
SEXP attr(const std::string& name) { return vector_.attr(name); }
195195

196-
attribute_proxy<V> attr(SEXP name) { return vector_.attr(name); }
196+
SEXP attr(SEXP name) { return vector_.attr(name); }
197197

198198
void attr(const char* name, SEXP value) { vector_.attr(name) = value; }
199199

0 commit comments

Comments
 (0)