mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add missing static specifier
This commit is contained in:
parent
77262bf3a8
commit
97482dcbbb
@ -81,7 +81,7 @@ struct url_data {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename Out>
|
template <typename Out>
|
||||||
void split (const std::string & s, char delim, Out result)
|
static void split (const std::string & s, char delim, Out result)
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss.str (s);
|
ss.str (s);
|
||||||
@ -92,7 +92,7 @@ void split (const std::string & s, char delim, Out result)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::string> split (const std::string & s, char delim)
|
static std::vector<std::string> split (const std::string & s, char delim)
|
||||||
{
|
{
|
||||||
std::vector<std::string> elems;
|
std::vector<std::string> elems;
|
||||||
split (s, delim, std::back_inserter (elems));
|
split (s, delim, std::back_inserter (elems));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user