mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
do not use auto in cpp
This commit is contained in:
parent
3672c2c7a6
commit
ba2ed28323
@ -40,7 +40,7 @@ jlong getClassHashCode(JNIEnv *env, jclass javaClass) {
|
||||
extern "C"
|
||||
jvmtiIterationControl JNICALL
|
||||
HeapObjectCallback(jlong class_tag, jlong size, jlong *tag_ptr, void *user_data) {
|
||||
auto *data = static_cast<jlong *>(user_data);
|
||||
jlong *data = static_cast<jlong *>(user_data);
|
||||
*tag_ptr = *data;
|
||||
return JVMTI_ITERATION_CONTINUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user