cpp: Resolve an ambiguous overload in some tests
authorDavid Reiss <dreiss@apache.org>
Thu, 21 May 2009 02:28:30 +0000 (02:28 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 21 May 2009 02:28:30 +0000 (02:28 +0000)
commite5eef13e6f509ad60cd2076d37f9ddfe54df7785
tree9c3ade84b8371414caa735117dd23b49fee7c9fc
parent5105b2e79d21204d13f2351dc6b973061e66b215
cpp: Resolve an ambiguous overload in some tests

sqrt is defined for floats and long doubles in addition to doubles.
Add a cast (from int) to specify which one we want.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@776930 13f79535-47bb-0310-9956-ffa450edef68
test/DebugProtoTest.cpp
test/JSONProtoTest.cpp