From 8537dcb256b4ddb6c45e047f0e9d174f42f72508 Mon Sep 17 00:00:00 2001 From: Wei Dai Date: Tue, 8 Jun 2021 12:11:38 -0700 Subject: [PATCH] Fixed some formatting issues. --- .clang-format | 2 +- native/src/seal/util/ztools.cpp | 8 ++++---- native/src/seal/util/ztools.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index baa2408fb..ccd0912f6 100644 --- a/.clang-format +++ b/.clang-format @@ -8,7 +8,7 @@ AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlines: Left AlignOperands: true -AlignTrailingComments: true +AlignTrailingComments: false AllowAllArgumentsOnNextLine: true AllowAllConstructorInitializersOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true diff --git a/native/src/seal/util/ztools.cpp b/native/src/seal/util/ztools.cpp index ce6b20543..59e9c10bf 100644 --- a/native/src/seal/util/ztools.cpp +++ b/native/src/seal/util/ztools.cpp @@ -56,8 +56,8 @@ namespace seal unordered_map> ptr_storage_; }; } // namespace - } // namespace ztools - } // namespace util + } // namespace ztools + } // namespace util } // namespace seal #endif @@ -424,7 +424,7 @@ namespace seal out_stream.exceptions(old_except_mask); } } // namespace ztools - } // namespace util + } // namespace util } // namespace seal #endif @@ -785,7 +785,7 @@ namespace seal out_stream.exceptions(old_except_mask); } } // namespace ztools - } // namespace util + } // namespace util } // namespace seal #endif diff --git a/native/src/seal/util/ztools.h b/native/src/seal/util/ztools.h index 2b736dc3c..79ebd96e7 100644 --- a/native/src/seal/util/ztools.h +++ b/native/src/seal/util/ztools.h @@ -73,7 +73,7 @@ namespace seal (in_size < (SizeT(128) << 10)) ? (((SizeT(128) << 10) - in_size) >> 11) : SizeT(0)); } } // namespace ztools - } // namespace util + } // namespace util } // namespace seal #endif