From 9976f68385b8bddf1853294a18da00d632ad672b Mon Sep 17 00:00:00 2001
From: scott snyder <scott.snyder@cern.ch>
Date: Thu, 29 Nov 2018 15:42:56 +0100
Subject: [PATCH] StoreGate: Remove non-const deref of DataHandle.

Trying to remove non-const deref methods from DataHandle.
---
 Control/StoreGate/test/SGtests.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Control/StoreGate/test/SGtests.cxx b/Control/StoreGate/test/SGtests.cxx
index b261974f2c9..21e7b7ec691 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
-- 
GitLab