From efe31dfb0ff6b75fa00bd65da592d7c400b01ddb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 2 Sep 2015 21:13:54 +0100 Subject: Use libadhocutil --- project2/common/instanceStore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project2/common/instanceStore.h') diff --git a/project2/common/instanceStore.h b/project2/common/instanceStore.h index fc57be7..4fd4519 100644 --- a/project2/common/instanceStore.h +++ b/project2/common/instanceStore.h @@ -31,9 +31,9 @@ class InstanceMap : public InstanceStore & p); static void Remove(const KeyType &); - template static boost::shared_ptr Get(const KeyType & n) + template static boost::shared_ptr Get(const KeyType & n) { - return safeMapLookup(InstanceStore::GetAll(), n); + return AdHoc::safeMapLookup(InstanceStore::GetAll(), n); } static void OnEach(const boost::function & func); -- cgit v1.2.3