Commit eb5b10d9 authored by Łukasz Matysiak's avatar Łukasz Matysiak
Browse files

Remove dead code

parent d11d4500
......@@ -462,28 +462,6 @@ Vita::string Data::getRightConfigPath(Vita::string str, Vita::string baseConfigP
return baseConfigPath + "/" + str;
}
std::vector<std::string> Data::splitValue(Vita::string str, Vita::string onlyEnding)
{
std::vector<Vita::string> work {str.toLower().explode(" ")};
std::vector<std::string> final;
for (auto&& iterator = work.begin(); iterator != work.end();
iterator++)
{
if (("" != *iterator) && onlyEnding.empty())
{
final.push_back(*iterator);
}
else if (("" != *iterator) && (Vita::string(*iterator).explode(".").back() == onlyEnding)
&& ((*iterator).size() > 5))
{
final.push_back(Vita::string(*iterator).substr(0, (*iterator).size() - 5));
}
}
return final;
}
void Data::updateConfigData()
{
// Clear config vectors in each device element
......
......@@ -88,7 +88,6 @@ private:
std::string onlyFilename = "");
Vita::string getRightConfigPath(Vita::string str, Vita::string baseConfigPath);
std::vector<std::string> splitValue(Vita::string str, Vita::string onlyEnding = "");
void updateConfigData();
Vita::string from_Hex(uint16_t hexnum, int fill);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment