summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_http.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-04 13:35:20 +0000
committerrubidium <rubidium@openttd.org>2010-02-04 13:35:20 +0000
commit228da0ccd34d350ea6f721e67698e20c182c7cd5 (patch)
treebb570f376f933478d132737de38d4c6977e46534 /src/network/core/tcp_http.h
parent2b8f7f207844599174a1756411b65347fb2b9fa5 (diff)
downloadopenttd-228da0ccd34d350ea6f721e67698e20c182c7cd5.tar.xz
(svn r19001) -Fix: some GCC compile warnings
Diffstat (limited to 'src/network/core/tcp_http.h')
-rw-r--r--src/network/core/tcp_http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/core/tcp_http.h b/src/network/core/tcp_http.h
index 6939577ad..13eeb7d54 100644
--- a/src/network/core/tcp_http.h
+++ b/src/network/core/tcp_http.h
@@ -33,6 +33,9 @@ struct HTTPCallback {
* @note When NULL is sent the HTTP socket handler is closed/freed.
*/
virtual void OnReceiveData(const char *data, size_t length) = 0;
+
+ /** Silentium */
+ virtual ~HTTPCallback() {}
};
/** Base socket handler for HTTP traffic. */