diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2023-04-24 10:37:48 -0700 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2023-04-24 10:37:48 -0700 |
commit | 944e2b6a9d8ee97c3202ac0403edec234d0bfa31 (patch) | |
tree | 28a8383f475f2e2fb8f22de609671cb379603cf3 /src/stable/string.cpp | |
parent | af849fa314ad335e14c82a2018ee7d7bea91842a (diff) | |
download | libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.gz libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.bz2 libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.xz libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.zip |
More tweaks to make things easier to transition.
Diffstat (limited to 'src/stable/string.cpp')
-rw-r--r-- | src/stable/string.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stable/string.cpp b/src/stable/string.cpp index ed4e58b..98b78bd 100644 --- a/src/stable/string.cpp +++ b/src/stable/string.cpp | |||
@@ -516,6 +516,16 @@ const char *Bu::String::getStr() const | |||
516 | return core->pFirst->pData; | 516 | return core->pFirst->pData; |
517 | } | 517 | } |
518 | 518 | ||
519 | char *Bu::String::getData() | ||
520 | { | ||
521 | return getStr(); | ||
522 | } | ||
523 | |||
524 | const char *Bu::String::getData() const | ||
525 | { | ||
526 | return getStr(); | ||
527 | } | ||
528 | |||
519 | const char *Bu::String::getConstStr() const | 529 | const char *Bu::String::getConstStr() const |
520 | { | 530 | { |
521 | return getStr(); | 531 | return getStr(); |