Skip to content

Commit

Permalink
Removed unnecessary exception
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Oct 29, 2023
1 parent d0e4cb3 commit 1a49076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down

0 comments on commit 1a49076

Please sign in to comment.