Remove String->const char* conversion operator in favor of c_str method
[clinton/bobotpp.git] / source / String.H
index de6cbed..7d1bee9 100644 (file)
@@ -14,7 +14,7 @@
 
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef BSTRING_H
 #define BSTRING_H
@@ -82,7 +82,7 @@ public:
 
   friend std::string operator+(const std::string &, const String &);
   
-  operator const char *() const;
+  const char* c_str () const;
   operator std::string () const;
 
   friend std::ostream & operator<<(std::ostream &, const String &);