mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
Fix a unique_ptr build error with gcc 4.8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user