OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-link-grammar commits / 406157e

Fix build break due to changed AtomSpace API
406157e18f428961f9a53c2c226cd9f1176e6255
by Linas Vepštas <linasvepstas@gmail.com> · 2025-10-13T07:05:02.000Z

Changed files (3) +5 -3

ChangeLog +2 -2
……@@ -1,5 +1,5 @@
1Version 5.12.9 (XXX Maybe in 2026)
2 * (nothing yet)
1Version 5.12.9 (13 October 2025)
2 * Fix build break due to changing AtomSpace API.
33
44Version 5.12.8 (26 September 2025)
55 * Fix build break ... again! Not all compilers are happy with the fix.
link-grammar/dict-atomese/lookup-atomese.cc +2 -1
……@@ -10,6 +10,7 @@
1010#include <cstdlib>
1111#include <opencog/atomspace/AtomSpace.h>
1212#include <opencog/persist/api/StorageNode.h>
13#include <opencog/persist/storage/storage_types.h>
1314#include <opencog/persist/cog-simple/CogSimpleStorage.h>
1415#include <opencog/persist/cog-storage/CogStorage.h>
1516#include <opencog/persist/file/FileStorage.h>
……@@ -123,7 +124,7 @@ bool as_open(Dictionary dict)
123124 local->asp = external_atomspace;
124125 if (external_storage)
125126 {
126 Handle hsn = local->asp->add_atom(external_storage);
127 Handle hsn = local->asp->add_atom(Handle(external_storage));
127128 local->stnp = StorageNodeCast(hsn);
128129 if (nullptr == local->stnp)
129130 {
link-grammar/dict-atomese/sections.cc +1 -0
……@@ -9,6 +9,7 @@
99
1010#include <cstdlib>
1111#include <opencog/util/oc_assert.h>
12#include <opencog/atoms/value/FloatValue.h>
1213#include <opencog/atomspace/AtomSpace.h>
1314#include <opencog/nlp/types/atom_types.h>
1415