mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
remove "using namespace std" from header files
"using namespace std" in headers is considered bad practice, so move it either into the respective cpp files or (for files which have lots of other std::xxx usage anyway) just write it out explicitly. Looking at the headers and the affected cpp files, one can actually see why it is bad practice, as it's spreading very far ;-)
This commit is contained in:
committed by
Jacek Jendrzej
parent
17ea8e7d63
commit
0d9139054a
@@ -1068,7 +1068,7 @@ void CControlAPI::LogolistCGI(CyhookHandler *hh)
|
||||
if (g_PicViewer->GetLogoName(channel->getChannelID(), NeutrinoAPI->GetServiceName(channel->getChannelID()), logo_used, NULL, NULL))
|
||||
{
|
||||
realpath(logo_used.c_str(), _real);
|
||||
logo_real = string(_real);
|
||||
logo_real = std::string(_real);
|
||||
if (strcmp(logo_used.c_str(), logo_real.c_str()) == 0)
|
||||
logo_real.clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user