From: Aidan Van Dyk Date: Tue, 28 Aug 2007 17:18:07 +0000 (-0400) Subject: fxStr: Allow a (char*) conversion too X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f83f90ce10f4ebf52ec06fd7ea9ade5bc1e70e4d;p=thirdparty%2FHylaFAX.git fxStr: Allow a (char*) conversion too --- diff --git a/libhylafax/Str.h b/libhylafax/Str.h index 916f2f45..18a40a1a 100644 --- a/libhylafax/Str.h +++ b/libhylafax/Str.h @@ -95,6 +95,8 @@ public: ///////////////////////////////////////////////////// u_long hash() const; + operator char*() + { return data; } operator const char*() const { return data; } operator int() const