aboutsummaryrefslogtreecommitdiff
path: root/common/relationship
diff options
context:
space:
mode:
Diffstat (limited to 'common/relationship')
-rw-r--r--common/relationship/driver.cxx2
1 files changed, 1 insertions, 1 deletions
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<obj1*> (0)); // VC 10
a.s1.insert (new obj1 ("s1 2", "s1 2"));
a.m1[0] = new obj1 ("m1 0", "m1 0");