Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: src/IceThreading.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceThreading.h
diff --git a/src/IceThreading.h b/src/IceThreading.h
index f59f46e3bad590a55b23ba71732a95f6e2a864d9..7eb3c2a9f2553447114f72b039d9e07a1843934c 100644
--- a/src/IceThreading.h
+++ b/src/IceThreading.h
@@ -55,8 +55,9 @@ class BoundedProducerConsumerQueue {
operator=(const BoundedProducerConsumerQueue &) = delete;
public:
- BoundedProducerConsumerQueue(bool Sequential, size_t MaxSize = MaxStaticSize)
- : MaxSize(std::min(MaxSize, MaxStaticSize)), Sequential(Sequential) {}
+ BoundedProducerConsumerQueue(bool MySequential,
+ size_t MyMaxSize = MaxStaticSize)
+ : MaxSize(std::min(MyMaxSize, MaxStaticSize)), Sequential(MySequential) {}
void blockingPush(T *Item) {
{
std::unique_lock<GlobalLockType> L(Lock);
« src/IceInst.h ('K') | « src/IceTargetLoweringX86BaseImpl.h ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698