Skip to content

Commit f1d3250

Browse files
authored
fix build
1 parent 2174678 commit f1d3250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/quill/core/Codec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ struct Codec
227227
// Local copy improves generated code (avoids aliasing penalties)
228228
std::byte* buf_ptr = buffer;
229229

230-
if (QUILL_LIKELY(arg))
230+
if (QUILL_LIKELY(arg != nullptr))
231231
{
232232
// avoid gcc warning, even when size == 0
233233
std::memcpy(buf_ptr, arg, len - 1);

0 commit comments

Comments
 (0)