Skip to content

Commit

Permalink
Replace ::memcpy by std::memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-jeon authored Aug 28, 2024
1 parent c72f008 commit 23abf54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subproject/simple/simple_dragonbox_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static bool test_simple_dragonbox(bool& success, Arg... arg) {

Float x;
static_assert(sizeof(br) == sizeof(x));
::memcpy(&x, &br, sizeof(br));
std::memcpy(&x, &br, sizeof(br));

simple_dragonbox::to_chars(x, buffer1, arg...);
reference_implementation(x, buffer2);
Expand Down

0 comments on commit 23abf54

Please sign in to comment.