mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
Fixed VS2015 build errors - had to prefix array<> with cli namespace as compiler was reporting ambiguous reference (VS2013 was fine with the code)
Basic VS2015 build should now be working
This commit is contained in:
@@ -50,7 +50,7 @@ namespace CefSharp
|
||||
}
|
||||
else
|
||||
{
|
||||
array<Byte>^ buffer = gcnew array<Byte>(bytes_to_read);
|
||||
auto buffer = gcnew cli::array<Byte>(bytes_to_read);
|
||||
bytes_read = _stream->Read(buffer, 0, bytes_to_read);
|
||||
pin_ptr<Byte> src = &buffer[0];
|
||||
memcpy(data_out, static_cast<void*>(src), bytes_read);
|
||||
|
||||
Reference in New Issue
Block a user