1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-21 01:47:11 +03:00

Attempt to silence cppcheck warning

https://github.com/rui314/mold/issues/176
This commit is contained in:
Rui Ueyama 2021-12-22 17:06:23 +09:00
parent 358464d5ad
commit 390e737dea

2
mold.h
View File

@ -526,6 +526,8 @@ public:
ctx.timer_records.push_back(std::unique_ptr<TimerRecord>(record));
}
Timer(const Timer &) = delete;
~Timer() {
record->stop();
}