mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-21 08:44:59 +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:
|
private:
|
||||||
// A type wrapping up the logic around mmap and munmap.
|
// A type wrapping up the logic around mmap and munmap.
|
||||||
struct mmap_region_t;
|
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 memory mapped pointer and length.
|
||||||
// The ptr aliases our region. The length may be slightly smaller, if there is a trailing
|
// The ptr aliases our region. The length may be slightly smaller, if there is a trailing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user