]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/string.h
Removed sometimes-ambiguous wxString operator
[wxWidgets.git] / include / wx / string.h
index c3ce0840a23c6b6781b1ba973bde29940ed1cdaa..4c1ef6f8ae1b9008108baaf06d5ef6dc9462cd5b 100644 (file)
@@ -303,12 +303,16 @@ public:
     char& Last()
       { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
 
-    // on 64bit systems, this gives overload problems:
-#if SIZEOF_INT <= 4
+    // on alpha-linux this gives overload problems:
+    // Also on Solaris, so removing for now (JACS)
+/*
+#if ! defined(__ALPHA__)
     /// operator version of GetChar
     char  operator[](size_t n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
 #endif
+*/
+
     /// operator version of GetChar
     char  operator[](int n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }