]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
fxStr: Allow a (char*) conversion too
authorAidan Van Dyk <aidan@ifax.com>
Tue, 28 Aug 2007 17:18:07 +0000 (13:18 -0400)
committerPatrice Fournier <patrice.fournier@ifax.com>
Tue, 30 Jul 2024 03:35:54 +0000 (23:35 -0400)
libhylafax/Str.h

index 916f2f454cd75ecf2de319a7a128b199f203b521..18a40a1a81f2b4f0133f0d8b43cfdc54f51acfec 100644 (file)
@@ -95,6 +95,8 @@ public:
     /////////////////////////////////////////////////////
     u_long hash() const;
 
+    operator char*()
+       { return data; }
     operator const char*() const
        { return data; }
     operator int() const