Fix regression: operator= should return a reference.

[SVN r31316]
This commit is contained in:
John Maddock
2005-10-14 12:12:30 +00:00
parent b5c4409c76
commit 8dbdb5315b

View File

@ -44,7 +44,7 @@ struct empty_helper_t1 : public T
private:
// suppress compiler warnings:
empty_helper_t1(const empty_helper_t1&);
empty_helper_t1 operator=(const empty_helper_t1&);
empty_helper_t1& operator=(const empty_helper_t1&);
};
struct empty_helper_t2 { int i[256]; };