Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit f6aea79

Browse files
committed
Bug 1577867 - Remove using namespace std from image/ r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D44250 --HG-- extra : moz-landing-system : lando
1 parent dc486da commit f6aea79

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

image/imgLoader.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// Undefine windows version of LoadImage because our code uses that name.
88
#undef LoadImage
99

10+
#include <algorithm>
11+
1012
#include "ImageLogging.h"
1113
#include "imgLoader.h"
1214

@@ -998,9 +1000,6 @@ void imgCacheQueue::UpdateSize(int32_t diff) { mSize += diff; }
9981000

9991001
uint32_t imgCacheQueue::GetSize() const { return mSize; }
10001002

1001-
#include <algorithm>
1002-
using namespace std;
1003-
10041003
void imgCacheQueue::Remove(imgCacheEntry* entry) {
10051004
uint64_t index = mQueue.IndexOf(entry);
10061005
if (index == queueContainer::NoIndex) {

0 commit comments

Comments
 (0)