Follow rule of three for HTTPRepo:ChildInfo

This commit is contained in:
James Turner 2020-08-22 21:30:53 +01:00
parent 8b14e56f88
commit 2c4120974c

View File

@ -190,9 +190,8 @@ class HTTPDirectory
{ {
} }
// REVIEW: Memory Leak - 93,275 bytes in 2,275 blocks are indirectly lost
// Default copy-ctor is inappropriate when using dynamic memory allocation
ChildInfo(const ChildInfo& other) = default; ChildInfo(const ChildInfo& other) = default;
ChildInfo& operator=(const ChildInfo& other) = default;
void setSize(const std::string & sizeData) void setSize(const std::string & sizeData)
{ {