Skip to content

Commit 9e14a20

Browse files
Nikita Nazarovnikita-nazarov
authored andcommitted
Add necessary includes
1 parent b414666 commit 9e14a20

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/log.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <string>
44
#include <iostream>
55
#include <fstream>
6+
#include <chrono>
67
#include "log.h"
78

89
namespace logger {
@@ -65,7 +66,7 @@ namespace logger {
6566

6667
void logPassedTime() {
6768
if (LEVEL >= DEBUG) {
68-
long long passedTime = std::__1::chrono::duration_cast<std::chrono::milliseconds>(
69+
long long passedTime = std::chrono::duration_cast<std::chrono::milliseconds>(
6970
std::chrono::steady_clock::now() - timePoint
7071
).count();
7172
*out << "MEMORY_AGENT::TIME_MS " << passedTime << std::endl;

src/sizes/retained_size_via_dominator_tree.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
22

33
#include <vector>
4+
#include <algorithm>
45

56
#include "retained_size_via_dominator_tree.h"
67
#include "dominator_tree.h"

0 commit comments

Comments
 (0)