diff --git a/native/src/seal/util/iterator.h b/native/src/seal/util/iterator.h index 8d076b4b..44821e55 100644 --- a/native/src/seal/util/iterator.h +++ b/native/src/seal/util/iterator.h @@ -1837,7 +1837,8 @@ namespace seal IterTuple() = default; - IterTuple(SEALIter first, IterTuple rest) : first_(first), rest_(rest){}; + IterTuple(SEALIter first, IterTuple rest) : first_(first), rest_(rest) + {} IterTuple(SEALIter first, Rest... rest) : first_(first), rest_(rest...) {} @@ -2061,7 +2062,8 @@ namespace seal using iterator_category = std::random_access_iterator_tag; using difference_type = std::ptrdiff_t; - IterTuple(){}; + IterTuple() + {} IterTuple(SEALIter first) : first_(first) {} diff --git a/native/src/seal/util/mempool.h b/native/src/seal/util/mempool.h index 574b386a..3142b9c2 100644 --- a/native/src/seal/util/mempool.h +++ b/native/src/seal/util/mempool.h @@ -228,7 +228,8 @@ namespace seal class MemoryPoolMT : public MemoryPool { public: - MemoryPoolMT(bool clear_on_destruction = false) : clear_on_destruction_(clear_on_destruction){}; + MemoryPoolMT(bool clear_on_destruction = false) : clear_on_destruction_(clear_on_destruction) + {} ~MemoryPoolMT() noexcept override; @@ -257,7 +258,8 @@ namespace seal class MemoryPoolST : public MemoryPool { public: - MemoryPoolST(bool clear_on_destruction = false) : clear_on_destruction_(clear_on_destruction){}; + MemoryPoolST(bool clear_on_destruction = false) : clear_on_destruction_(clear_on_destruction) + {} ~MemoryPoolST() noexcept override;