Skip to content

Commit 58f06f0

Browse files
committed
(const_)generic_proxy should inherit from GenericProxy (thanks Romain)
1 parent 51f5889 commit 58f06f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inst/include/Rcpp/vector/const_generic_proxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Rcpp{
2424
namespace internal{
2525

2626
template <int RTYPE>
27-
class const_generic_proxy{
27+
class const_generic_proxy : public GenericProxy< const_generic_proxy<RTYPE> > {
2828
public:
2929
typedef typename ::Rcpp::Vector<RTYPE> VECTOR ;
3030

inst/include/Rcpp/vector/generic_proxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Rcpp{
2424
namespace internal{
2525

2626
template <int RTYPE>
27-
class generic_proxy{
27+
class generic_proxy : public GenericProxy< generic_proxy<RTYPE> > {
2828
public:
2929
typedef typename ::Rcpp::Vector<RTYPE> VECTOR ;
3030

0 commit comments

Comments
 (0)