mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +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 ;-)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d9139054a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-10-01 (Sun, 01 Oct 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
61a2b10f7e
commit
ef71d00d7f
@@ -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