From b47a7c0f524d0074fe6fa82373c36b57bd2b3896 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 26 May 2012 10:45:58 -0700 Subject: [PATCH] Missing from previous commit. --- src/SHAMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SHAMap.cpp b/src/SHAMap.cpp index 95679c7a8b..04fee377f8 100644 --- a/src/SHAMap.cpp +++ b/src/SHAMap.cpp @@ -336,7 +336,7 @@ SHAMapItem::pointer SHAMap::peekNextItem(const uint256& id) { node = getNode(node->getChildNodeID(i), node->getChildHash(i), false); if (!node) throw SHAMapException(MissingNode); - SHAMapItem::pointer item = firstBelow(node); + SHAMapItem::pointer item = firstBelow(&*node); if (!item) throw SHAMapException(MissingNode); return item; } @@ -365,7 +365,7 @@ SHAMapItem::pointer SHAMap::peekPrevItem(const uint256& id) { node = getNode(node->getChildNodeID(i), node->getChildHash(i), false); if(!node) throw SHAMapException(MissingNode); - SHAMapItem::pointer item = firstBelow(node); + SHAMapItem::pointer item = firstBelow(&*node); if (!item) throw SHAMapException(MissingNode); return item; }