chore(library/vm/vm): fix gcc 4.8 warning

This commit is contained in:
Leonardo de Moura 2016-11-04 09:41:10 -07:00
parent ef1fc9871b
commit 5075891f66

View file

@ -2303,7 +2303,7 @@ vm_state::profiler::~profiler() {
auto vm_state::profiler::get_snapshots() -> snapshots {
stop();
snapshots r {};
snapshots r;
std::unordered_map<name, chrono::milliseconds, name_hash> cum_times;
for (snapshot_core const & s : m_snapshots) {
snapshot new_s;