1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00

temporary

This commit is contained in:
Rui Ueyama 2021-01-09 19:02:03 +09:00
parent 066bddedcd
commit 4d6d8131ff
2 changed files with 2 additions and 5 deletions

4
mold.h
View File

@ -862,13 +862,13 @@ public:
static void print();
static bool enabled;
static inline bool enabled = false;
private:
std::string_view name;
std::atomic_uint32_t value;
static std::vector<Counter *> instances;
static inline std::vector<Counter *> instances;
};
struct TimerRecord {

View File

@ -5,9 +5,6 @@
#include <sys/resource.h>
#include <sys/time.h>
std::vector<Counter *> Counter::instances;
bool Counter::enabled = false;
void Counter::print() {
if (!enabled)
return;