summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fstring.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index 21a07ce..7180f5f 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -479,6 +479,13 @@ namespace Bu
479 return pFirst->pData[nIndex]; 479 return pFirst->pData[nIndex];
480 } 480 }
481 481
482 operator const chr *() const
483 {
484 if( !pFirst ) return NULL;
485 flatten();
486 return pFirst->pData;
487 }
488
482 operator bool() const 489 operator bool() const
483 { 490 {
484 return (pFirst != NULL); 491 return (pFirst != NULL);