aboutsummaryrefslogtreecommitdiff
path: root/common/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/str.h')
-rw-r--r--common/str.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/str.h b/common/str.h
index 2c68630507..f8052c74ae 100644
--- a/common/str.h
+++ b/common/str.h
@@ -37,7 +37,11 @@ protected:
int _capacity;
public:
+#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
static const String emptyString;
+#else
+ static const char *emptyString;
+#endif
String() : _str(0), _len(0), _capacity(0) { _refCount = new int(1); }
String(const char *str, int len = -1);