diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h index 3c84e6b656f..343adbe5924 100644 --- a/core/io/file_access_pack.h +++ b/core/io/file_access_pack.h @@ -92,7 +92,7 @@ private: PathMD5() {} - PathMD5(const Vector p_buf) { + PathMD5(const Vector &p_buf) { a = *((uint64_t *)&p_buf[0]); b = *((uint64_t *)&p_buf[8]); }