[Rcpp-commits] r3938 - pkg/Rcpp/inst/include/Rcpp/iostream

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 11 19:05:47 CET 2012


Author: edd
Date: 2012-11-11 19:05:47 +0100 (Sun, 11 Nov 2012)
New Revision: 3938

Modified:
   pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h
Log:
get rid of one g++ "reorder" warning


Modified: pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h	2012-11-11 17:17:20 UTC (rev 3937)
+++ pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h	2012-11-11 18:05:47 UTC (rev 3938)
@@ -33,7 +33,7 @@
 
     class Rostream : public std::ostream {
     public:
-        Rostream( bool output ) :  buf(output), std::ostream( &buf ){}
+        Rostream(bool output) : std::ostream(&buf), buf(output) {}
         
     protected:
         Rstreambuf buf;



More information about the Rcpp-commits mailing list