don't dllexport Log and HookList

This commit is contained in:
Aliaksey Kandratsenka 2024-03-20 19:32:02 -04:00
parent ea4fceb796
commit c23bbdb4c7
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class LogItem {
} u_;
};
extern PERFTOOLS_DLL_DECL void Log(LogMode mode, const char* filename, int line,
extern void Log(LogMode mode, const char* filename, int line,
LogItem a, LogItem b = LogItem(),
LogItem c = LogItem(), LogItem d = LogItem());

View File

@ -60,7 +60,7 @@ static const int kHookListSingularIdx = 7;
// HookList: a class that provides synchronized insertions and removals and
// lockless traversal. Most of the implementation is in malloc_hook.cc.
template <typename T>
struct PERFTOOLS_DLL_DECL HookList {
struct HookList {
static_assert(sizeof(T) <= sizeof(uintptr_t), "must fit in uintptr_t");
constexpr HookList() = default;