summaryrefslogtreecommitdiffstats
path: root/Source/cmArchiveWrite.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2023-01-18 17:46:53 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-18 21:20:47 (GMT)
commit33abef7416401b7db9f5f68cee447b4246310e72 (patch)
tree4639cca017838624bfb38c9d82eb34266a28b0c8 /Source/cmArchiveWrite.cxx
parent57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff)
downloadCMake-33abef7416401b7db9f5f68cee447b4246310e72.zip
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.bz2
Revise C++ coding style using clang-format-15
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
Diffstat (limited to 'Source/cmArchiveWrite.cxx')
-rw-r--r--Source/cmArchiveWrite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index f29983c..e992b4b 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -68,7 +68,7 @@ public:
~Entry() { archive_entry_free(this->Object); }
Entry(const Entry&) = delete;
Entry& operator=(const Entry&) = delete;
- operator struct archive_entry*() { return this->Object; }
+ operator struct archive_entry *() { return this->Object; }
};
struct cmArchiveWrite::Callback