Skip to content
Snippets Groups Projects
Commit 9976f683 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

StoreGate: Remove non-const deref of DataHandle.

Trying to remove non-const deref methods from DataHandle.
parent 9b6d2458
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment