Bug 640494 part 1 - Get rid of STL algorithm use in jsworker.cpp. r=jimb

This commit is contained in:
Jason Orendorff 2011-04-23 08:48:50 +02:00
parent cc0623b6e3
commit cef5bccdba

View File

@ -40,7 +40,6 @@
#ifdef JS_THREADSAFE
#include <algorithm>
#include <string.h>
#include "prthread.h"
#include "prlock.h"
@ -117,7 +116,7 @@ class Queue {
T pop() {
if (front->empty()) {
std::reverse(back->begin(), back->end());
js::Reverse(back->begin(), back->end());
Vec *tmp = front;
front = back;
back = tmp;