From dfaf27b9ea913e3df21eb412bf371298af1f1570 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Jan 2011 14:55:03 +0200 Subject: Workaround VC 10 bug --- common/relationship/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/relationship/driver.cxx b/common/relationship/driver.cxx index 44df17e..637dfd0 100644 --- a/common/relationship/driver.cxx +++ b/common/relationship/driver.cxx @@ -47,7 +47,7 @@ main (int argc, char* argv[]) a.v1.push_back (new obj1 ("v1 2", "v1 2")); a.s1.insert (new obj1 ("s1 0", "s1 0")); - a.s1.insert (0); + a.s1.insert (static_cast (0)); // VC 10 a.s1.insert (new obj1 ("s1 2", "s1 2")); a.m1[0] = new obj1 ("m1 0", "m1 0"); -- cgit v1.1