From 786b0463b649f5f0f5f1b9131adc50d4c5a66b38 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 10 May 2021 16:49:11 -0700 Subject: [PATCH] Fix a unique_ptr build error with gcc 4.8 --- src/history_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history_file.h b/src/history_file.h index 201d2fb11..8a10aa5fb 100644 --- a/src/history_file.h +++ b/src/history_file.h @@ -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 region_{}; + const std::unique_ptr region_; // The memory mapped pointer and length. // The ptr aliases our region. The length may be slightly smaller, if there is a trailing