From a26419557f0a64955a7c598c0b129266823fd964 Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Wed, 26 Apr 2017 11:30:32 +0300 Subject: [PATCH] fixes identical code in both if branches introduced in e52a04e34 --- src/autoload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autoload.cpp b/src/autoload.cpp index 8550dae1b..8e063c7a1 100644 --- a/src/autoload.cpp +++ b/src/autoload.cpp @@ -253,7 +253,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_ if (really_load) { this->insert(cmd, autoload_function_t(true)); } else { - this->insert(cmd, autoload_function_t(true)); + this->insert_no_eviction(cmd, autoload_function_t(true)); } func = this->get(cmd); assert(func);