Bug 1577869 - Remove using namespace std from js/ r=jwalden
authorEric Rahm <erahm@mozilla.com>
Sat, 31 Aug 2019 00:35:52 +0000
changeset 490975 52721fabd4d12278444dccd78a90cbb2bbba3720
parent 490974 98bdc3047120ee9d3700f4c13bc09b0db585c58f
child 490976 7d029a9d6c0de272be77e49114555e493b480a05
push id114010
push userdluca@mozilla.com
push dateSat, 31 Aug 2019 09:58:00 +0000
treeherdermozilla-inbound@b3cc8963e871 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwalden
bugs1577869
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1577869 - Remove using namespace std from js/ r=jwalden Differential Revision: https://phabricator.services.mozilla.com/D44253
js/src/ctypes/CTypes.cpp
--- a/js/src/ctypes/CTypes.cpp
+++ b/js/src/ctypes/CTypes.cpp
@@ -49,17 +49,17 @@
 #include "js/Vector.h"
 #include "util/Unicode.h"
 #include "util/Windows.h"
 #include "vm/JSContext.h"
 #include "vm/JSFunction.h"
 
 #include "vm/JSObject-inl.h"
 
-using namespace std;
+using std::numeric_limits;
 
 using mozilla::IsAsciiAlpha;
 using mozilla::IsAsciiDigit;
 
 using JS::AutoCheckCannotGC;
 using JS::AutoStableStringChars;
 
 namespace js {