mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-21 04:52:01 +08:00
Fix a unique_ptr build error with gcc 4.8
This commit is contained in:
parent
04535e9701
commit
786b0463b6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user