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
+3
-3
@@ -51,7 +51,7 @@
|
||||
// - Jim Cline
|
||||
// - Jeff Kohn
|
||||
// - Todd Heckel
|
||||
// - Ullrich Pollähne
|
||||
// - Ullrich Pollähne
|
||||
// - Joe Vitaterna
|
||||
// - Joe Woodbury
|
||||
// - Aaron (no last name)
|
||||
@@ -538,7 +538,7 @@ public:
|
||||
{
|
||||
// Range check the count.
|
||||
|
||||
nCount = max(0, min(nCount, static_cast<int>(this->size())));
|
||||
nCount = std::max(0, std::min(nCount, static_cast<int>(this->size())));
|
||||
return this->substr(0, static_cast<MYSIZE>(nCount));
|
||||
}
|
||||
|
||||
@@ -581,7 +581,7 @@ public:
|
||||
{
|
||||
// Range check the count.
|
||||
|
||||
nCount = max(0, min(nCount, static_cast<int>(this->size())));
|
||||
nCount = std::max(0, std::min(nCount, static_cast<int>(this->size())));
|
||||
return this->substr(this->size()-static_cast<MYSIZE>(nCount));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user