don't dllexport Log and HookList
This commit is contained in:
parent
ea4fceb796
commit
c23bbdb4c7
|
@ -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());
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue