diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-15 14:15:36 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-15 14:15:36 -0500 |
commit | 71976e927cca43b970cb659c03fd6908c352ea3d (patch) | |
tree | ac354a07b08119ddd172ebb67060ee496f4683a5 /include | |
parent | 93d8e7d066ec89a235630907164b07ada6ee5c3c (diff) |
Style fixes for clang tidy.
Diffstat (limited to 'include')
-rw-r--r-- | include/fud_c_file.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp index 1c7c304..c81a340 100644 --- a/include/fud_c_file.hpp +++ b/include/fud_c_file.hpp @@ -329,7 +329,7 @@ class CFile { return result; } - auto* sourceBytes = static_cast<const char*>(source); + const auto* sourceBytes = static_cast<const char*>(source); result.bytesWritten = fwrite(sourceBytes, 1, length, self.m_file); static_cast<void>(self.reset()); if (result.bytesWritten != length) { |