mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 640494 part 1 - Get rid of STL algorithm use in jsworker.cpp. r=jimb
This commit is contained in:
parent
cc0623b6e3
commit
cef5bccdba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user