Appease gcc-8 warnings (#869)
Summary: GCC 8 introduces a new `class-memaccess` warning. The compiler rightly complains about `memcpy`-ing a non-POD datatype even though we know it's ok. Casting to `void*` before `memcpy` silences the compiler warning. Closes https://github.com/facebook/folly/pull/869 Reviewed By: simpkins Differential Revision: D8475831 Pulled By: danobi fbshipit-source-id: c0f4eb9a653803cc912be1c6148f50ab71a8c6ab
Showing
Please register or sign in to comment