diff options
-rw-r--r-- | libadhocutil/curlStream.cpp | 4 | ||||
-rw-r--r-- | libadhocutil/curlStream.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libadhocutil/curlStream.cpp b/libadhocutil/curlStream.cpp index 9701e54..d16ff00 100644 --- a/libadhocutil/curlStream.cpp +++ b/libadhocutil/curlStream.cpp @@ -13,6 +13,10 @@ CurlStreamSource::CurlStreamSource(const std::string & url) : curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, this); } +AdHoc::Net::CurlStreamSource::~CurlStreamSource() +{ +} + std::streamsize CurlStreamSource::read(char * target, std::streamsize targetSize) { diff --git a/libadhocutil/curlStream.h b/libadhocutil/curlStream.h index da54f0f..c6b3beb 100644 --- a/libadhocutil/curlStream.h +++ b/libadhocutil/curlStream.h @@ -16,6 +16,7 @@ class DLL_PUBLIC CurlStreamSource : public boost::iostreams::source, public Curl public: /** Construct a new stream source for the given URL. */ CurlStreamSource(const std::string & url); + virtual ~CurlStreamSource(); /** Required member function for reading of the stream source by boost::iostreams::stream. */ std::streamsize read(char * target, std::streamsize targetSize); |