Commit c6cadebf authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2850] Add default case for switch on MemorySegmentOpenMode

parent 8ba0a7bc
......@@ -285,6 +285,11 @@ ZoneTableSegmentMapped::reset(MemorySegmentOpenMode mode,
case READ_ONLY:
segment.reset(openReadOnly(filename));
break;
default:
isc_throw(isc::InvalidOperation,
"Invalid MemorySegmentOpenMode passed to reset()");
}
current_filename_ = filename;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment