Fix variable name in fallback code when BOOST_ASIO_HAS_FILE
This commit is contained in:
parent
a25db1f9e0
commit
5c62014b3b
|
@ -28,7 +28,7 @@ void BuildProcessSession::DataForWebSession::streamFile(
|
|||
auto ec = boost::system::error_code();
|
||||
m_fileStream.open(filePath, boost::asio::stream_file::read_only, ec);
|
||||
#else
|
||||
auto error = boost::beast::error_code();
|
||||
auto ec = boost::beast::error_code();
|
||||
m_file.open(filePath.data(), boost::beast::file_mode::scan, ec);
|
||||
#endif
|
||||
if (ec) {
|
||||
|
|
Loading…
Reference in New Issue