@@ -206,13 +206,6 @@ struct OdbObjectsData
206206 static constexpr uint32_t kUnreachable = 0 ;
207207
208208 struct CommitInfo {
209- CommitInfo () = default ;
210- ~CommitInfo () = default ;
211- CommitInfo (const CommitInfo &other) = delete ;
212- CommitInfo (CommitInfo &&other) = default ;
213- CommitInfo& operator =(const CommitInfo &other) = delete ;
214- CommitInfo& operator =(CommitInfo &&other) = default ;
215-
216209 std::string oidTree {};
217210 size_t size {0 };
218211 std::vector<std::string> parents {};
@@ -222,13 +215,6 @@ struct OdbObjectsData
222215 };
223216
224217 struct TreeInfoAndStats {
225- TreeInfoAndStats () = default ;
226- ~TreeInfoAndStats () = default ;
227- TreeInfoAndStats (const TreeInfoAndStats &other) = delete ;
228- TreeInfoAndStats (TreeInfoAndStats &&other) = default ;
229- TreeInfoAndStats& operator =(const TreeInfoAndStats &other) = delete ;
230- TreeInfoAndStats& operator =(TreeInfoAndStats &&other) = default ;
231-
232218 size_t size {0 };
233219 size_t numEntries {0 };
234220 std::vector<std::string> entryBlobs {};
@@ -241,13 +227,6 @@ struct OdbObjectsData
241227 };
242228
243229 struct BlobInfo {
244- BlobInfo () = default ;
245- ~BlobInfo () = default ;
246- BlobInfo (const BlobInfo &other) = delete ;
247- BlobInfo (BlobInfo &&other) = default ;
248- BlobInfo& operator =(const BlobInfo &other) = delete ;
249- BlobInfo& operator =(BlobInfo &&other) = default ;
250-
251230 size_t size {0 };
252231 // number of sources from which a blob can be reached:
253232 // a tree's entry, or a tag
@@ -257,13 +236,6 @@ struct OdbObjectsData
257236 struct TagInfo {
258237 static constexpr uint32_t kUnsetDepth = 0 ;
259238
260- TagInfo () = default ;
261- ~TagInfo () = default ;
262- TagInfo (const TagInfo &other) = delete ;
263- TagInfo (TagInfo &&other) = default ;
264- TagInfo& operator =(const TagInfo &other) = delete ;
265- TagInfo& operator =(TagInfo &&other) = default ;
266-
267239 std::string oidTarget {};
268240 git_object_t typeTarget {GIT_OBJECT_INVALID};
269241 uint32_t depth {kUnsetDepth };
0 commit comments