2
0
Эх сурвалжийг харах

new parameter on virtual method

David Rose 20 жил өмнө
parent
commit
2cdd4644f3

+ 1 - 1
panda/src/downloader/httpChannel.cxx

@@ -170,7 +170,7 @@ will_close_connection() const {
 //               once for a particular HTTPChannel.
 ////////////////////////////////////////////////////////////////////
 istream *HTTPChannel::
-open_read_file() const {
+open_read_file(bool auto_unwrap) const {
   return ((HTTPChannel *)this)->read_body();
 }
 

+ 1 - 1
panda/src/downloader/httpChannel.h

@@ -72,7 +72,7 @@ public:
   virtual Filename get_filename() const;
 
   virtual bool is_regular_file() const;
-  virtual istream *open_read_file() const;
+  virtual istream *open_read_file(bool auto_unwrap) const;
   void close_read_file(istream *stream) const;
 
   bool will_close_connection() const;