22//
33// setdiff.h: Rcpp R/C++ interface class library -- setdiff
44//
5- // Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois
5+ // Copyright (C) 2012 - 2014 Dirk Eddelbuettel and Romain Francois
66//
77// This file is part of Rcpp.
88//
@@ -55,7 +55,7 @@ namespace sugar{
5555 Vector<RTYPE> get () const {
5656 int n = lhs_set.size () ;
5757 Vector<RTYPE> out = no_init (n) ;
58- std::copy ( lhs_set.begin (), lhs_set.end (), get_const_begin ( out) ) ;
58+ std::copy ( lhs_set.begin (), lhs_set.end (), out. begin ( ) ) ;
5959 return out ;
6060 }
6161
@@ -120,7 +120,7 @@ namespace sugar{
120120 Vector<RTYPE> get () const {
121121 int n = intersect.size () ;
122122 Vector<RTYPE> out = no_init (n) ;
123- std::copy ( intersect.begin (), intersect.end (), get_const_begin ( out) ) ;
123+ std::copy ( intersect.begin (), intersect.end (), out. begin ( ) ) ;
124124 return out ;
125125 }
126126
@@ -145,7 +145,7 @@ namespace sugar{
145145 Vector<RTYPE> get () const {
146146 int n = result.size () ;
147147 Vector<RTYPE> out = no_init (n) ;
148- std::copy ( result.begin (), result.end (), get_const_begin ( out) ) ;
148+ std::copy ( result.begin (), result.end (), out. begin ( ) ) ;
149149 return out ;
150150 }
151151
0 commit comments