OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-storage commits / f90504a

Typos
f90504ac467df56ee0050ff42297c94afaea2ee5
by Linas Vepstas <linasvepstas@gmail.com> · 2026-01-18T19:07:00.000Z

Changed files (1) +2 -2

opencog/persist/api/StorageNode.cc +2 -2
……@@ -55,7 +55,7 @@ AtomSpace* StorageNode::get_target_as(const ValuePtr& value) const
5555 if (value->is_type(ATOM_SPACE))
5656 return AtomSpaceCast(value).get();
5757
58 if (nullptr == vp or 0 == vp->size())
58 if (nullptr == value or 0 == value->size())
5959 return _target_as.get();
6060
6161 ValuePtr vp(value);
……@@ -155,7 +155,7 @@ void StorageNode::setValue(const Handle& key, const ValuePtr& value)
155155 COLL("*-open-*");
156156 AtomSpace* as = get_target_as(value);
157157 if (nullptr == as) as = getAtomSpace();
158 __target_as = AtomSpaceCast(as->shared_from_this());
158 _target_as = AtomSpaceCast(as->shared_from_this());
159159 open();
160160 return;
161161 }