Fix several in-class initialization clang warning

This commit is contained in:
Marcelo Fernandez
2018-03-22 00:17:18 -03:00
parent f2df8c94b2
commit 35d21c0881
7 changed files with 18 additions and 9 deletions

View File

@ -37,7 +37,7 @@
class StringBuilder {
uint32_t string_length = 0;
uint32_t string_length;
Vector<String> strings;
Vector<const char *> c_strings;
@ -75,6 +75,10 @@ public:
_FORCE_INLINE_ operator String() const {
return as_string();
}
StringBuilder() {
string_length = 0;
}
};
#endif // STRING_BUILDER_H