Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
@@ -132,7 +132,7 @@ bool NetworkManager::IsUrlAllowed(const std::string& url)
|
||||
RString allowedHostsStr = this->httpAllowHosts.Get();
|
||||
allowedHostsStr.MakeLower();
|
||||
|
||||
vector<RString> allowedHosts;
|
||||
std::vector<RString> allowedHosts;
|
||||
split(allowedHostsStr, ",", allowedHosts);
|
||||
|
||||
for (const auto& allowedHost : allowedHosts)
|
||||
@@ -283,7 +283,7 @@ std::string NetworkManager::GetUserAgent()
|
||||
|
||||
void NetworkManager::ClearDownloads()
|
||||
{
|
||||
vector<RString> files;
|
||||
std::vector<RString> files;
|
||||
FILEMAN->GetDirListing("/Downloads/*", files, false, true);
|
||||
|
||||
for (const auto& file : files)
|
||||
|
||||
Reference in New Issue
Block a user