We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58d8a9 commit 8cc8551Copy full SHA for 8cc8551
mmaplib.h
@@ -66,7 +66,7 @@ inline mmap::mmap(const char *path)
66
#endif
67
,
68
size_(0), addr_(MAP_FAILED) {
69
- if (!open(path)) { std::runtime_error(""); }
+ open(path);
70
}
71
72
inline mmap::~mmap() { close(); }
0 commit comments