[Rprotobuf-commits] r706 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jan 4 03:18:45 CET 2014


Author: murray
Date: 2014-01-04 03:18:44 +0100 (Sat, 04 Jan 2014)
New Revision: 706

Modified:
   pkg/src/DescriptorPoolLookup.h
   pkg/src/RWarningErrorCollector.h
   pkg/src/Rcppsupport.h
Log:
Add some missing standard includes.  Found by clang iwyu.



Modified: pkg/src/DescriptorPoolLookup.h
===================================================================
--- pkg/src/DescriptorPoolLookup.h	2014-01-04 02:17:55 UTC (rev 705)
+++ pkg/src/DescriptorPoolLookup.h	2014-01-04 02:18:44 UTC (rev 706)
@@ -1,6 +1,9 @@
 #ifndef RPROTOBUF_DescriptorPoolLookup_H
 #define RPROTOBUF_DescriptorPoolLookup_H
 
+#include <set>                  /* For set */
+#include <string>               /* For string */
+
 #include "RSourceTree.h"
 #include "RWarningErrorCollector.h"
 

Modified: pkg/src/RWarningErrorCollector.h
===================================================================
--- pkg/src/RWarningErrorCollector.h	2014-01-04 02:17:55 UTC (rev 705)
+++ pkg/src/RWarningErrorCollector.h	2014-01-04 02:18:44 UTC (rev 706)
@@ -1,3 +1,5 @@
+#include <string>               /* For string */
+
 #include "rprotobuf.h"
 
 namespace rprotobuf {

Modified: pkg/src/Rcppsupport.h
===================================================================
--- pkg/src/Rcppsupport.h	2014-01-04 02:17:55 UTC (rev 705)
+++ pkg/src/Rcppsupport.h	2014-01-04 02:18:44 UTC (rev 706)
@@ -20,6 +20,9 @@
 #ifndef RPROTOBUF__RCPPSUPPORT__H
 #define RPROTOBUF__RCPPSUPPORT__H
 
+#include <ostream>              /* for stringstream, basic_ostream */
+#include <string>               /* for string */
+
 #include "rprotobuf.h"
 
 namespace rprotobuf {



More information about the Rprotobuf-commits mailing list