fix macro use name
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m5s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 2m5s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 2m13s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 2m28s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m34s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 3m11s
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m5s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 2m5s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 2m13s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 2m28s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m34s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 3m11s
This commit is contained in:
parent
9a81631692
commit
90a8778f70
@ -52,7 +52,7 @@ public:
|
||||
if (destructor_) destructor_();
|
||||
}
|
||||
|
||||
const char *name() const { return name_; }
|
||||
const char *module_name() const { return name_; }
|
||||
|
||||
private:
|
||||
const char *const name_;
|
||||
@ -65,7 +65,7 @@ private:
|
||||
GoogleInitializer google_initializer_module_##name(#name, google_init_module_##name, NULL); \
|
||||
__attribute__((constructor)) static void EnsureConstructorRunsBeforeMain() \
|
||||
{ \
|
||||
google_initializer_module_##name.name(); \
|
||||
google_initializer_module_##name.module_name(); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user