Skip to content

Commit 91c3bd4

Browse files
committed
noexcept in operator SEXP (attribute proxy)
1 parent 2be6542 commit 91c3bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/cpp11/attribute_proxy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class attribute_proxy {
4242
return *this;
4343
}
4444

45-
operator SEXP() const { return safe[Rf_getAttrib](parent_.data(), symbol_); }
45+
operator SEXP() const noexcept { return safe[Rf_getAttrib](parent_.data(), symbol_); }
4646
};
4747

4848
} // namespace cpp11

0 commit comments

Comments
 (0)