Skip to content

Commit

Permalink
Fixing idiotic bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krulis committed Aug 18, 2018
1 parent d585812 commit 4e45d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judges/recodex_token_judge/bpplib/system/mmap_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace bpp
if (mData != NULL && ::munmap(mData, mLength) == -1) throw RuntimeError("Cannot unmap file.");
mData = NULL;

if (mfile != 0 && ::close(mFile) == -1) throw RuntimeError("Cannot close mapped file.");
if (mFile != 0 && ::close(mFile) == -1) throw RuntimeError("Cannot close mapped file.");
mFile = 0;
#endif
}
Expand Down

0 comments on commit 4e45d94

Please sign in to comment.