more fixes for Code

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 14:48:42 -07:00
parent a35464ca08
commit 9245a31196
54 changed files with 97 additions and 121 deletions
@@ -62,7 +62,7 @@ public:
// Reroute the mock stream to our output MemoryStream for writing.
ON_CALL(m_mockGenericStream, Write(_, _))
.WillByDefault([this, &outputStream](AZ::IO::SizeType bytes, const void* buffer)
.WillByDefault([&outputStream](AZ::IO::SizeType bytes, const void* buffer)
{
return outputStream.Write(bytes, buffer);
});