mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
------------------
Commit: aa240a9457
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-10-01 (Sun, 01 Oct 2017)
This commit is contained in:
@@ -150,8 +150,8 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
||||
const int delay = 15;
|
||||
int sw = g_Font[font_info]->getRenderWidth("99999");
|
||||
maxb = minb = lastb = tmp_rate = 0;
|
||||
string br_str = string(g_Locale->getText(LOCALE_STREAMINFO_BITRATE)) + ":";
|
||||
string avg_str = "(" + string(g_Locale->getText(LOCALE_STREAMINFO_AVERAGE_BITRATE)) + ")";
|
||||
std::string br_str = std::string(g_Locale->getText(LOCALE_STREAMINFO_BITRATE)) + ":";
|
||||
std::string avg_str = "(" + std::string(g_Locale->getText(LOCALE_STREAMINFO_AVERAGE_BITRATE)) + ")";
|
||||
int offset = g_Font[font_info]->getRenderWidth(avg_str);
|
||||
int dheight = g_Font[font_info]->getHeight ();
|
||||
int dx1 = x + 10;
|
||||
|
Reference in New Issue
Block a user