diff --git a/src/ecmascript/libdom/mujs/mapa.cpp b/src/ecmascript/libdom/mujs/mapa.cpp index 9a2d5292..75f313e4 100644 --- a/src/ecmascript/libdom/mujs/mapa.cpp +++ b/src/ecmascript/libdom/mujs/mapa.cpp @@ -123,7 +123,7 @@ attr_clear_map_str(void *m) static const std::vector explode(const std::string& s, const char& c) { - std::string buff{""}; + std::string buff(""); std::vector v; bool found = false; diff --git a/src/ecmascript/libdom/quickjs/mapa.cpp b/src/ecmascript/libdom/quickjs/mapa.cpp index fc43909a..d3ff8030 100644 --- a/src/ecmascript/libdom/quickjs/mapa.cpp +++ b/src/ecmascript/libdom/quickjs/mapa.cpp @@ -330,7 +330,7 @@ attr_erase_from_map_rev(void *m, JSValueConst value) static const std::vector explode(const std::string& s, const char& c) { - std::string buff{""}; + std::string buff(""); std::vector v; bool found = false;