Skip to content

Commit 754eba5

Browse files
Remove hack only needed for old version of Visual Studio
1 parent 1c73c4d commit 754eba5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

jbmc/src/java_bytecode/jar_pool.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ jar_filet &jar_poolt::operator()(const std::string &file_name)
1313
{
1414
const auto it = m_archives.find(file_name);
1515
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-
}
16+
return m_archives.emplace(file_name, jar_filet(file_name)).first->second;
2117
else
2218
return it->second;
2319
}

0 commit comments

Comments
 (0)