aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Ivan Shynkarenka <chronoxor@gmail.com>2018-07-10 13:19:51 +0300
committerGravatar Ivan Shynkarenka <chronoxor@gmail.com>2018-07-10 13:19:51 +0300
commita3f0973979546aba6accf5737e20c91148c10bd4 (patch)
treebe08573524be1863c61ec25bd043d41a982942c6 /src
parent3beb19945b599d448c2524666effe1acdf29165f (diff)
OnShutdownDelete shadowing issue
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/stubs/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/common.h b/src/google/protobuf/stubs/common.h
index f505f46a..c5256d32 100644
--- a/src/google/protobuf/stubs/common.h
+++ b/src/google/protobuf/stubs/common.h
@@ -206,7 +206,7 @@ LIBPROTOBUF_EXPORT void OnShutdownRun(void (*f)(const void*), const void* arg);
template <typename T>
T* OnShutdownDelete(T* p) {
- OnShutdownRun([](const void* p) { delete static_cast<const T*>(p); }, p);
+ OnShutdownRun([](const void* pp) { delete static_cast<const T*>(pp); }, p);
return p;
}