From f137f24d75998f803da41f343ab8bc454faf7668 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 16 Aug 2019 17:50:41 -0700 Subject: [PATCH] Initialize a const variable Fixes #6041 --- src/autoload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autoload.cpp b/src/autoload.cpp index 4cdbc6cf8..11c51c92e 100644 --- a/src/autoload.cpp +++ b/src/autoload.cpp @@ -31,7 +31,7 @@ class autoload_file_cache_t { using timestamp_t = std::chrono::time_point; /// The directories from which to load. - const wcstring_list_t dirs_; + const wcstring_list_t dirs_{}; /// Our LRU cache of checks that were misses. /// The key is the command, the value is the time of the check.