Browse Source

windows stupidity

David Rose 23 years ago
parent
commit
ea84366328
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/downloader/httpDate.cxx

+ 3 - 1
panda/src/downloader/httpDate.cxx

@@ -280,7 +280,9 @@ input(istream &in) {
     return false;
   }
 
-  (*this) = HTTPDate(date);
+  // Visual C++ has problems with "(*this) = HTTPDate(date)".
+  HTTPDate new_date(date);
+  (*this) = new_date;
   return is_valid();
 }