mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
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:
parent
74b57d4f28
commit
dfb17c1ba8
@ -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));
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user