[Rcpp-commits] r3203 - in pkg/Rcpp/inst/include/Rcpp: sugar/block vector

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Sep 24 23:47:48 CEST 2011


Author: edd
Date: 2011-09-24 23:47:48 +0200 (Sat, 24 Sep 2011)
New Revision: 3203

Modified:
   pkg/Rcpp/inst/include/Rcpp/sugar/block/SugarBlock_2.h
   pkg/Rcpp/inst/include/Rcpp/vector/LazyVector.h
Log:
now with valid C++ syntax


Modified: pkg/Rcpp/inst/include/Rcpp/sugar/block/SugarBlock_2.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/sugar/block/SugarBlock_2.h	2011-09-24 21:43:57 UTC (rev 3202)
+++ pkg/Rcpp/inst/include/Rcpp/sugar/block/SugarBlock_2.h	2011-09-24 21:47:48 UTC (rev 3203)
@@ -47,7 +47,7 @@
 #else
     const T1& x ;
     const T2& y ;
-#fi
+#endif
 };
 
 
@@ -69,7 +69,7 @@
     const T1 x ;
 #else
     const T1& x ;
-#fi
+#endif
     U2 y ;
 };
 
@@ -92,7 +92,7 @@
     const T2 y ;
 #else
     const T2& y ;
-#fi
+#endif
 };
 
 

Modified: pkg/Rcpp/inst/include/Rcpp/vector/LazyVector.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/vector/LazyVector.h	2011-09-24 21:43:57 UTC (rev 3202)
+++ pkg/Rcpp/inst/include/Rcpp/vector/LazyVector.h	2011-09-24 21:47:48 UTC (rev 3203)
@@ -48,7 +48,7 @@
     const VECTOR vec ;
 #else
     const VECTOR& vec ;
-#fi
+#endif
     int n ;
     mutable std::vector<stored_type> data ;
     mutable std::vector<bool> known ;
@@ -68,7 +68,7 @@
     const VECTOR vec ;
 #else
     const VECTOR& vec ;
-#fi                
+#endif             
 } ;
 
         



More information about the Rcpp-commits mailing list