Fix a unique_ptr build error with gcc 4.8

This commit is contained in:
ridiculousfish 2021-05-10 16:49:11 -07:00
parent 04535e9701
commit 786b0463b6

View File

@ -55,7 +55,7 @@ class history_file_contents_t {
private:
// A type wrapping up the logic around mmap and munmap.
struct mmap_region_t;
const std::unique_ptr<mmap_region_t> region_{};
const std::unique_ptr<mmap_region_t> region_;
// The memory mapped pointer and length.
// The ptr aliases our region. The length may be slightly smaller, if there is a trailing