mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Removed unnecessary exception
This commit is contained in:
parent
d0e4cb3f07
commit
1a49076b5b
1 changed files with 1 additions and 1 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Reference in a new issue