Bug 1578107 - Remove using namespace std from mfbt r=jwalden

Differential Revision: https://phabricator.services.mozilla.com/D44320

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Eric Rahm 2019-09-02 16:45:26 +00:00
parent 74b57d4f28
commit dfb17c1ba8
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,8 @@ static constexpr bool odd(int32_t n) { return (n & 1); }
void TestAllOf() {
using namespace mozilla;
using namespace std;
using std::begin;
using std::end;
constexpr static int32_t arr1[3] = {1, 2, 3};
MOZ_RELEASE_ASSERT(!AllOf(begin(arr1), end(arr1), even));

View File

@ -29,7 +29,6 @@
#define SPAN_TEST(name) TEST(SpanTest, name)
#define CHECK_THROW(a, b)
using namespace std;
using namespace mozilla;
static_assert(IsConvertible<Range<int>, Span<const int>>::value,