diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-01-24 14:55:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-01-24 14:55:03 +0200 |
commit | dfaf27b9ea913e3df21eb412bf371298af1f1570 (patch) | |
tree | 3727d2cc44e38583871b23798151048e00540edf /common | |
parent | af26563b3ea3a8b27cda930cc700893356353bb8 (diff) |
Workaround VC 10 bug1.1.0
Diffstat (limited to 'common')
-rw-r--r-- | common/relationship/driver.cxx | 2 |
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"); |