mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 20:55:44 +01:00
Add virtual dtor to LibcurlWrapper.
LibcurlWrapper is deleted but contains no virtual destructor, triggering warnings with -Wdelete-non-virtual-dtor in clang++. R=ivanpe@chromium.org Review URL: https://breakpad.appspot.com/7664002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1337 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
91f746ec81
commit
20583f0560
@ -57,6 +57,8 @@ LibcurlWrapper::LibcurlWrapper()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibcurlWrapper::~LibcurlWrapper() {}
|
||||||
|
|
||||||
bool LibcurlWrapper::SetProxy(const string& proxy_host,
|
bool LibcurlWrapper::SetProxy(const string& proxy_host,
|
||||||
const string& proxy_userpwd) {
|
const string& proxy_userpwd) {
|
||||||
if (!init_ok_) {
|
if (!init_ok_) {
|
||||||
|
@ -40,6 +40,7 @@ namespace google_breakpad {
|
|||||||
class LibcurlWrapper {
|
class LibcurlWrapper {
|
||||||
public:
|
public:
|
||||||
LibcurlWrapper();
|
LibcurlWrapper();
|
||||||
|
~LibcurlWrapper();
|
||||||
virtual bool Init();
|
virtual bool Init();
|
||||||
virtual bool SetProxy(const string& proxy_host,
|
virtual bool SetProxy(const string& proxy_host,
|
||||||
const string& proxy_userpwd);
|
const string& proxy_userpwd);
|
||||||
|
Loading…
Reference in New Issue
Block a user