Litstr must die, episode II.

Esse commit está contido em:
smith
2013-04-16 18:41:55 -07:00
commit de Sara Golemon
commit 89f5f70e42
19 arquivos alterados com 367 adições e 219 exclusões
+3 -1
Ver Arquivo
@@ -295,13 +295,15 @@ Variant ArrayUtil::Range(double low, double high, int64_t step /* = 1 */) {
return ret;
}
static const StaticString s_default("(default)");
Variant ArrayUtil::FromHdf(const Hdf &hdf) {
if (hdf.firstChild().exists()) {
Array ret = Array::Create();
const char *value = hdf.get();
if (value) {
ret.set("(default)", String(value, CopyString));
ret.set(s_default, String(value, CopyString));
}
for (Hdf child = hdf.firstChild(); child.exists(); child = child.next()) {