Allow formal parameters with aligned storage to be mocked using MSVC
Without this change, MSVC compilation may fail when trying to mock a method
that has a formal parameter with aligned storage, even if the mocked method
uses a const ref formal parameter. The reason is that the |To| formal
parameter here is a value parameter, and for types with aligned storage that
declaration is invalid with MSVC (yielding an error similar to: "actual
parameter with __declspec(align(X)) won't be aligned").
Original issue reported on code.google.com by jdd...@chromium.org on 14 Mar 2014 at 1:16
Original issue reported on code.google.com by
jdd...@chromium.org
on 14 Mar 2014 at 1:16Attachments: