update
This commit is contained in:
parent
eb041b209e
commit
800560693b
@ -79,7 +79,7 @@ int main()
|
|||||||
|
|
||||||
// string l = "";
|
// string l = "";
|
||||||
auto now_buf_pos = input_file_stream.tellg();
|
auto now_buf_pos = input_file_stream.tellg();
|
||||||
const auto get_buf_len = [&](){
|
const auto get_buf_len = [&now_buf_pos,&input_file_stream,&buf](){
|
||||||
if(const auto new_buf_pos = input_file_stream.tellg(); new_buf_pos!=-1)[[likely]]{
|
if(const auto new_buf_pos = input_file_stream.tellg(); new_buf_pos!=-1)[[likely]]{
|
||||||
const auto old_buf_pos = now_buf_pos;
|
const auto old_buf_pos = now_buf_pos;
|
||||||
now_buf_pos = new_buf_pos;
|
now_buf_pos = new_buf_pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user