diff --git a/Control/StoreGate/test/SGtests.cxx b/Control/StoreGate/test/SGtests.cxx index b261974f2c903f7f3f579017afec86096be970aa..21e7b7ec691a5acad0e1e883c5124a73b9c0dd3d 100644 --- a/Control/StoreGate/test/SGtests.cxx +++ b/Control/StoreGate/test/SGtests.cxx @@ -728,14 +728,14 @@ namespace Athena_test { void testBind(::StoreGateSvc& rSG) { cout << "*** StoreGateSvcClient_test bind BEGINS ***" <<endl; - DataHandle<Foo> chFoo; + const DataHandle<Foo> chFoo; Foo *cFoo = new Foo; std::string dbKey="fooKey"; assert(rSG.record(cFoo,dbKey).isSuccess()); assert(rSG.bind(chFoo,dbKey).isSuccess()); - assert(chFoo.ptr() == cFoo); + assert(chFoo.cptr() == cFoo); //FIXME cout << "** bind it a second time with same key" << endl; // // try to bind it twice