We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc56923 commit 2f6fcc2Copy full SHA for 2f6fcc2
jbmc/src/java_bytecode/jar_pool.cpp
@@ -13,11 +13,7 @@ jar_filet &jar_poolt::operator()(const std::string &file_name)
13
{
14
const auto it = m_archives.find(file_name);
15
if(it == m_archives.end())
16
- {
17
- // VS: Can't construct in place
18
- auto file = jar_filet(file_name);
19
- return m_archives.emplace(file_name, std::move(file)).first->second;
20
- }
+ return m_archives.emplace(file_name, jar_filet(file_name)).first->second;
21
else
22
return it->second;
23
}
0 commit comments