Get rid of pointless virtual dtors in Request derivatives

This commit is contained in:
Tamás Bálint Misius 2023-05-28 11:28:54 +02:00
parent 0cc179ae4e
commit 7b894a693e
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
10 changed files with 0 additions and 24 deletions

View File

@ -10,10 +10,6 @@ namespace http
AuthHeaders(ByteString::Build(user.UserID), user.SessionID);
}
APIRequest::~APIRequest()
{
}
APIRequest::Result APIRequest::Finish()
{
Result result;

View File

@ -17,7 +17,6 @@ namespace http
};
APIRequest(ByteString url);
virtual ~APIRequest();
Result Finish();
};

View File

@ -9,10 +9,6 @@ namespace http
{
}
GetUserInfoRequest::~GetUserInfoRequest()
{
}
std::unique_ptr<UserInfo> GetUserInfoRequest::Finish()
{
std::unique_ptr<UserInfo> user_info;

View File

@ -9,7 +9,6 @@ namespace http
{
public:
GetUserInfoRequest(ByteString username);
virtual ~GetUserInfoRequest();
std::unique_ptr<UserInfo> Finish();
};

View File

@ -9,9 +9,6 @@ namespace http
size(size)
{}
ImageRequest::~ImageRequest()
{}
std::unique_ptr<VideoBuffer> ImageRequest::Finish()
{
auto [ status, data ] = Request::Finish();

View File

@ -15,7 +15,6 @@ namespace http
public:
ImageRequest(ByteString url, Vec2<int> size);
virtual ~ImageRequest();
std::unique_ptr<VideoBuffer> Finish();
};

View File

@ -13,10 +13,6 @@ namespace http
});
}
SaveUserInfoRequest::~SaveUserInfoRequest()
{
}
bool SaveUserInfoRequest::Finish()
{
auto result = APIRequest::Finish();

View File

@ -9,7 +9,6 @@ namespace http
{
public:
SaveUserInfoRequest(UserInfo &info);
virtual ~SaveUserInfoRequest();
bool Finish();
};

View File

@ -11,9 +11,5 @@ namespace http
), size)
{
}
ThumbnailRequest::~ThumbnailRequest()
{
}
}

View File

@ -7,6 +7,5 @@ namespace http
{
public:
ThumbnailRequest(int saveID, int saveDate, Vec2<int> size);
virtual ~ThumbnailRequest();
};
}