[Rprotobuf-commits] r677 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 31 21:10:22 CET 2013


Author: murray
Date: 2013-12-31 21:10:22 +0100 (Tue, 31 Dec 2013)
New Revision: 677

Modified:
   pkg/src/RconnectionCopyingInputStream.h
Log:
Mark a member method const.

Suggested by: Flexelint


Modified: pkg/src/RconnectionCopyingInputStream.h
===================================================================
--- pkg/src/RconnectionCopyingInputStream.h	2013-12-31 20:09:55 UTC (rev 676)
+++ pkg/src/RconnectionCopyingInputStream.h	2013-12-31 20:10:22 UTC (rev 677)
@@ -8,7 +8,7 @@
     RconnectionCopyingInputStream(int id);
 
     int Read(void* buffer, int size);
-    bool Failure() { return (failure); }
+    bool Failure() const { return (failure); }
 
    private:
     int connection_id;



More information about the Rprotobuf-commits mailing list