aboutsummaryrefslogtreecommitdiff
path: root/src/fstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-12-22 14:40:05 +0000
committerMike Buland <eichlan@xagasoft.com>2008-12-22 14:40:05 +0000
commit262c1489b10663f817f7c2bb11a61d0c9a8d8439 (patch)
tree752d5d6f13eb26a3b64d5e9b2e2ecbec7ef2677f /src/fstring.h
parentb7a687b08e32adafbb609bec7aa79b54f161ee4c (diff)
downloadlibbu++-262c1489b10663f817f7c2bb11a61d0c9a8d8439.tar.gz
libbu++-262c1489b10663f817f7c2bb11a61d0c9a8d8439.tar.bz2
libbu++-262c1489b10663f817f7c2bb11a61d0c9a8d8439.tar.xz
libbu++-262c1489b10663f817f7c2bb11a61d0c9a8d8439.zip
Hey, corrected a minor issue in Bu::FString. Turns out C++ is hardass enough
that we need a concatination operator for both const chr * and chr *. This fixed a suprising number of problems.
Diffstat (limited to '')
-rw-r--r--src/fstring.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index 91251bc..5c70919 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -516,6 +516,13 @@ namespace Bu
516 return ret; 516 return ret;
517 } 517 }
518 518
519 MyType operator +( chr *pRight )
520 {
521 MyType ret( *this );
522 ret.append( pRight );
523 return ret;
524 }
525
519 /** 526 /**
520 * Reset your FString to this character array. 527 * Reset your FString to this character array.
521 *@param pData (const chr *) The character array to set your FString to. 528 *@param pData (const chr *) The character array to set your FString to.