Skip to content

Commit a4c8f43

Browse files
committed
fixed compilation for linux
1 parent 56590f4 commit a4c8f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/string.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ inline void string_to_array_t(arr_t &lst, pcstr src, char separator) {
125125
}
126126

127127
lst.resize(t_cnt);
128-
arr_t::value_type tmp;
128+
typename arr_t::value_type tmp;
129129
for (int i = 0; i < t_cnt; i++) {
130130
string_item(src, i, tmp, separator, nullptr);
131131
string_trim(tmp.data());

0 commit comments

Comments
 (0)