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

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: Change the previous underscore naming style Created 5 years, 6 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 4f04935a1f2b188bbc03858b248f8f3bf7617e88..446d30375fb90297f5fda545eed6ba4a164ca1a9 100644
--- a/src/IceThreading.h
+++ b/src/IceThreading.h
@@ -54,8 +54,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);

Powered by Google App Engine
This is Rietveld 408576698