OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-sensory commits / ef66725

Fix initialization of the template
ef667251e8e94ab312c0708a72bb8325d300b76f
by Linas Vepštas <linasvepstas@gmail.com> · 2026-01-18T02:33:11.000Z

Changed files (2) +6 -0

opencog/atoms/sensory/SensoryNode.cc +2 -0
……@@ -33,6 +33,8 @@ using namespace opencog;
3333
3434// ====================================================================
3535
36template class ObjectCRTP<SensoryNode>;
37
3638SensoryNode::SensoryNode(Type t, const std::string&& uri) :
3739 ObjectCRTP<SensoryNode>(t, std::move(uri))
3840{
opencog/atoms/sensory/SensoryNode.h +4 -0
……@@ -32,12 +32,16 @@ namespace opencog
3232 * @{
3333 */
3434
35class SensoryNode;
36extern template class ObjectCRTP<SensoryNode>;
37
3538// Dispatcher for setValue, getValue.
3639// Also, holder of URL's.
3740class SensoryNode : public ObjectCRTP<SensoryNode>
3841{
3942 friend class ReadStream;
4043 friend class StringStream;
44 friend class ObjectCRTP<SensoryNode>;
4145
4246protected:
4347 SensoryNode(Type, const std::string&&);