From 16657e5e1d0e70450435910d8b02f3fa76999868 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Fri, 15 Mar 2013 18:24:41 +0000 Subject: [PATCH] Try to fix VC8. [SVN r83445] --- test/optional_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/optional_test.cpp b/test/optional_test.cpp index 29a1229..c3f9355 100644 --- a/test/optional_test.cpp +++ b/test/optional_test.cpp @@ -845,6 +845,8 @@ void test_with_builtin_types() struct VBase : virtual X { VBase(int v) : X(v) {} + // MSVC 8.0 doesn't generate this correctly... + VBase(const VBase& other) : X(static_cast(other)) {} }; void test_with_class_type()