There was an error while loading. Please reload this page.
1 parent 254dd8c commit 2ced64dCopy full SHA for 2ced64d
2 files changed
ChangeLog
@@ -1,3 +1,7 @@
1
+2012-11-21 Romain Francois <romain@r-enthusiasts.com>
2
+
3
+ * include/Rcpp/iostream/Rostream.h: Fix warning given by -Wreorder
4
5
2012-11-20 JJ Allaire <jj@rstudio.org>
6
7
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: elaborate further
inst/include/Rcpp/iostream/Rostream.h
@@ -33,10 +33,7 @@ namespace Rcpp {
33
34
class Rostream : public std::ostream {
35
public:
36
- Rostream(bool output) : buf(output), std::ostream(&buf) {}
37
-
38
- private:
39
- Rstreambuf buf ;
+ Rostream(bool output) : std::ostream( new Rstreambuf(output) ) {}
40
};
41
42
// declare global variable
0 commit comments