rvalues cannot bind to non-const references. MSVC has an "extension that allows that. To be standards compliant, you need
const auto& refInstance = m_map.find(key);
But this returns an iterator. It is unusual to use references to iterators. Values are fine:
auto refInstance = m_map.find(key);