From a67a70a121f51f5cfee94f130767be6f0ec0b892 Mon Sep 17 00:00:00 2001 From: Mikhail Gorbushin Date: Mon, 12 Nov 2018 17:08:12 +0300 Subject: [PATCH] [base] cpp minor fix, move const to another place. --- base/fifo_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/fifo_cache.hpp b/base/fifo_cache.hpp index 675d8c4d81..15ee97aa36 100644 --- a/base/fifo_cache.hpp +++ b/base/fifo_cache.hpp @@ -25,7 +25,7 @@ public: /// \brief Loads value, if it's necessary, by |key| with |m_loader|, puts it to cache and /// returns the reference to the value to |m_map|. - Value const & GetValue(const Key & key) + Value const & GetValue(Key const & key) { auto const it = m_map.find(key); if (it != m_map.cend())