Follow rule of three for HTTPRepo:ChildInfo
This commit is contained in:
parent
8b14e56f88
commit
2c4120974c
@ -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& operator=(const ChildInfo& other) = default;
|
||||
|
||||
void setSize(const std::string & sizeData)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user