diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-12-05 19:16:36 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-12-05 19:16:36 +0000 |
commit | 1bf954a11db61e1d9e77868f0b4c42d247103184 (patch) | |
tree | 1f403163a6c3327fb3f07285d30383c588ff7051 /cpp/test/Freeze/complex/Client.cpp | |
parent | Added AlreadyRegisteredException and NotRegisteredException. (diff) | |
download | ice-1bf954a11db61e1d9e77868f0b4c42d247103184.tar.bz2 ice-1bf954a11db61e1d9e77868f0b4c42d247103184.tar.xz ice-1bf954a11db61e1d9e77868f0b4c42d247103184.zip |
workaround for apparent VC.NET bug
Diffstat (limited to 'cpp/test/Freeze/complex/Client.cpp')
-rw-r--r-- | cpp/test/Freeze/complex/Client.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/test/Freeze/complex/Client.cpp b/cpp/test/Freeze/complex/Client.cpp index e4eb907c1ba..0f5850c4dbb 100644 --- a/cpp/test/Freeze/complex/Client.cpp +++ b/cpp/test/Freeze/complex/Client.cpp @@ -42,7 +42,13 @@ validate(const DBPtr& db) // // Verify the stored record is correct. // - test(p->first.result == p->second->calc()); + // COMPILERFIX: VC.NET reports an unhandled + // exception if the test is written this way: + // + //test(p->first.result == p->second->calc()); + // + Complex::NodePtr n = p->second; + test(p->first.result == n->calc()); // // Verify that the expression & result again. |