mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00: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
|
#endif
|
||||||
,
|
,
|
||||||
size_(0), addr_(nullptr) {
|
size_(0), addr_(nullptr) {
|
||||||
if (!open(path)) { std::runtime_error(""); }
|
open(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline mmap::~mmap() { close(); }
|
inline mmap::~mmap() { close(); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue