[libcxx] r217877 - Forgot 'const' on my last checkin

Marshall Clow mclow.lists at gmail.com
Tue Sep 16 08:33:54 PDT 2014


Author: marshall
Date: Tue Sep 16 10:33:53 2014
New Revision: 217877

URL: http://llvm.org/viewvc/llvm-project?rev=217877&view=rev
Log:
Forgot 'const' on my last checkin

Modified:
    libcxx/trunk/include/istream
    libcxx/trunk/include/ostream

Modified: libcxx/trunk/include/istream
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/istream?rev=217877&r1=217876&r2=217877&view=diff
==============================================================================
--- libcxx/trunk/include/istream (original)
+++ libcxx/trunk/include/istream Tue Sep 16 10:33:53 2014
@@ -199,12 +199,12 @@ protected:
     void swap(basic_istream& __rhs);
 
 #ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
-    basic_istream           (basic_istream& __rhs) = delete;
-    basic_istream& operator=(basic_istream& __rhs) = delete;
+    basic_istream           (const basic_istream& __rhs) = delete;
+    basic_istream& operator=(const basic_istream& __rhs) = delete;
 #else
 private:
-    basic_istream           (basic_istream& __rhs);
-    basic_istream& operator=(basic_istream& __rhs);
+    basic_istream           (const basic_istream& __rhs);
+    basic_istream& operator=(const basic_istream& __rhs);
 #endif
 public:
 

Modified: libcxx/trunk/include/ostream
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/ostream?rev=217877&r1=217876&r2=217877&view=diff
==============================================================================
--- libcxx/trunk/include/ostream (original)
+++ libcxx/trunk/include/ostream Tue Sep 16 10:33:53 2014
@@ -179,12 +179,12 @@ protected:
     void swap(basic_ostream& __rhs);
 
 #ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
-    basic_ostream           (basic_ostream& __rhs) = delete;
-    basic_ostream& operator=(basic_ostream& __rhs) = delete;
+    basic_ostream           (const basic_ostream& __rhs) = delete;
+    basic_ostream& operator=(const basic_ostream& __rhs) = delete;
 #else
 private:
-    basic_ostream           (basic_ostream& __rhs);
-    basic_ostream& operator=(basic_ostream& __rhs);
+    basic_ostream           (const basic_ostream& __rhs);
+    basic_ostream& operator=(const basic_ostream& __rhs);
 #endif
 public:
 





More information about the cfe-commits mailing list