Skip to content

Commit 8cc8551

Browse files
committed
Removed std::runtime_error
1 parent c58d8a9 commit 8cc8551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmaplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ inline mmap::mmap(const char *path)
6666
#endif
6767
,
6868
size_(0), addr_(MAP_FAILED) {
69-
if (!open(path)) { std::runtime_error(""); }
69+
open(path);
7070
}
7171

7272
inline mmap::~mmap() { close(); }

0 commit comments

Comments
 (0)