Removed unnecessary exception

This commit is contained in:
yhirose 2023-10-29 19:36:40 -04:00
parent d0e4cb3f07
commit 1a49076b5b

View file

@ -2563,7 +2563,7 @@ inline mmap::mmap(const char *path)
#endif
,
size_(0), addr_(nullptr) {
if (!open(path)) { std::runtime_error(""); }
open(path);
}
inline mmap::~mmap() { close(); }