From ea843663280509201c038102d432f2d6aa5356d0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 29 Jan 2003 20:43:30 +0000 Subject: [PATCH] windows stupidity --- panda/src/downloader/httpDate.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/downloader/httpDate.cxx b/panda/src/downloader/httpDate.cxx index 68c61424c4..07a6008c0c 100644 --- a/panda/src/downloader/httpDate.cxx +++ b/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(); }