From be3c54e14c0201352762180bbda1f3a0d949203b Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sun, 23 Oct 2022 17:29:41 -0400 Subject: [PATCH] extentwalker: drop explicit default constructors They're all public because it's a struct, so there's no need to make them explicit. clang-14 deprecates these. Signed-off-by: Zygo Blaxell --- include/crucible/extentwalker.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/crucible/extentwalker.h b/include/crucible/extentwalker.h index d8c4ea9..ed4c906 100644 --- a/include/crucible/extentwalker.h +++ b/include/crucible/extentwalker.h @@ -42,9 +42,6 @@ namespace crucible { uint64_t bytenr() const; bool operator==(const Extent &that) const; bool operator!=(const Extent &that) const { return !(*this == that); } - - Extent() = default; - Extent(const Extent &e) = default; }; class ExtentWalker {