aboutsummaryrefslogtreecommitdiff
path: root/src/stable/string.cpp
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2023-04-24 10:37:48 -0700
committerMike Buland <mbuland@penny-arcade.com>2023-04-24 10:37:48 -0700
commit944e2b6a9d8ee97c3202ac0403edec234d0bfa31 (patch)
tree28a8383f475f2e2fb8f22de609671cb379603cf3 /src/stable/string.cpp
parentaf849fa314ad335e14c82a2018ee7d7bea91842a (diff)
downloadlibbu++-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.cpp10
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
519char *Bu::String::getData()
520{
521 return getStr();
522}
523
524const char *Bu::String::getData() const
525{
526 return getStr();
527}
528
519const char *Bu::String::getConstStr() const 529const char *Bu::String::getConstStr() const
520{ 530{
521 return getStr(); 531 return getStr();