Unverified Commit 237938ac authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #4888 from chronoxor/master

OnShutdownDelete shadowing issue
parents 5b033161 a3f09739
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment