Skip to content

Commit b71a580

Browse files
operator SEXP has to be const for it to work with wrap
1 parent 350906a commit b71a580

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2013-10-28 Romain Francois <romain@r-enthusiasts.com>
2+
3+
* include/Rcpp/protection/Armor.h : Armor::operator SEXP has to be const
4+
for it to work properly with wrap.
5+
16
2013-10-27 Dirk Eddelbuettel <edd@debian.org>
27

38
* DESCRIPTION: Release 0.10.6

inst/include/Rcpp/protection/Armor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Rcpp {
3030

3131
template <typename U> Armor( U x );
3232

33-
inline operator SEXP(){
33+
inline operator SEXP() const {
3434
return data ;
3535
}
3636

0 commit comments

Comments
 (0)