summaryrefslogtreecommitdiff
path: root/src/strings/astring.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-08-11 22:52:18 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-25 17:58:12 -0700
commitadd7ff74ca25ca2c9cc591abc484f8e6d38b2c39 (patch)
treec62ef1510966effdf81bec6710125b75783ff512 /src/strings/astring.hpp
parent54df2e07fc4cc0bd8557e4152be15353ecf53d0d (diff)
downloadtmwa-add7ff74ca25ca2c9cc591abc484f8e6d38b2c39.tar.gz
tmwa-add7ff74ca25ca2c9cc591abc484f8e6d38b2c39.tar.bz2
tmwa-add7ff74ca25ca2c9cc591abc484f8e6d38b2c39.tar.xz
tmwa-add7ff74ca25ca2c9cc591abc484f8e6d38b2c39.zip
Optimize string literals in refcounted strings
Diffstat (limited to 'src/strings/astring.hpp')
-rw-r--r--src/strings/astring.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/astring.hpp b/src/strings/astring.hpp
index 83399f0..ccf2be6 100644
--- a/src/strings/astring.hpp
+++ b/src/strings/astring.hpp
@@ -35,7 +35,7 @@ namespace strings
#ifdef __clang__
__attribute__((unused))
#endif
- RString *align[0];
+ RString align[0];
char data[255];
unsigned char special;
RString *r_ptr() { return reinterpret_cast<RString *>(data); }