mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[c++] initialize string with () not {}. Refs #253
This commit is contained in:
parent
aca4e7e517
commit
843af9e300
@ -123,7 +123,7 @@ attr_clear_map_str(void *m)
|
||||
static const std::vector<std::string>
|
||||
explode(const std::string& s, const char& c)
|
||||
{
|
||||
std::string buff{""};
|
||||
std::string buff("");
|
||||
std::vector<std::string> v;
|
||||
|
||||
bool found = false;
|
||||
|
@ -330,7 +330,7 @@ attr_erase_from_map_rev(void *m, JSValueConst value)
|
||||
static const std::vector<std::string>
|
||||
explode(const std::string& s, const char& c)
|
||||
{
|
||||
std::string buff{""};
|
||||
std::string buff("");
|
||||
std::vector<std::string> v;
|
||||
|
||||
bool found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user