Skip to content

Commit b3a8fd5

Browse files
committed
compile fix: s/CACHE_LINE_SIZE/QUILL_CACHE_LINE_SIZE/
1 parent 5842a56 commit b3a8fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/quill/core/LoggerBase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class BacktraceStorage;
3434
class LoggerManager;
3535

3636
/***/
37-
class alignas(CACHE_LINE_SIZE) LoggerBase
37+
class alignas(QUILL_CACHE_LINE_SIZE) LoggerBase
3838
{
3939
public:
4040
/***/
@@ -57,7 +57,7 @@ class alignas(CACHE_LINE_SIZE) LoggerBase
5757
}
5858

5959
#if __cplusplus >= 201700 && !defined(_WIN32) && !defined(_MSC_VER)
60-
void* operator new(size_t i) { return aligned_alloc(i, detail::CACHE_LINE_SIZE); }
60+
void* operator new(size_t i) { return aligned_alloc(i, QUILL_CACHE_LINE_SIZE); }
6161
void operator delete(void* p) { std::free(p); }
6262
#endif
6363

0 commit comments

Comments
 (0)