Skip to content

Commit 724a1df

Browse files
committed
[lld] Fix small error in previous commit
6f7483b.
1 parent 2cda4f8 commit 724a1df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/Common/Timer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ void ScopedTimer::stop() {
2626

2727
ScopedTimer::~ScopedTimer() { stop(); }
2828

29-
Timer::Timer(llvm::StringRef name) : name(std::string(name)), total(0) {}
30-
Timer::Timer(llvm::StringRef name, Timer &parent) :
31-
name(std::string(name)), total(0) {
29+
Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name)) {}
30+
Timer::Timer(llvm::StringRef name, Timer &parent)
31+
: total(0), name(std::string(name)) {
3232
parent.children.push_back(this);
3333
}
3434

0 commit comments

Comments
 (0)