Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Aug 6, 2024
1 parent 53377cd commit a79a642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/babylon/logging/rolling_file_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ int RollingFileObject::open() noexcept {
::mkdir(_directory.c_str(), 0755);

char full_file_name[_directory.size() + _file_pattern.size() + 64];
::memcpy(full_file_name, _directory.c_str(), _directory.size());
__builtin_memcpy(full_file_name, _directory.c_str(), _directory.size());
full_file_name[_directory.size()] = '/';
auto bytes = format_file_name(full_file_name + _directory.size() + 1,
_file_pattern.size() + 63);
Expand Down

0 comments on commit a79a642

Please sign in to comment.