| … | … | @@ -33,6 +33,8 @@ using namespace opencog; |
| 33 | 33 | |
| 34 | 34 | // ==================================================================== |
| 35 | 35 | |
| 36 | template class ObjectCRTP<SensoryNode>; | |
| 37 | ||
| 36 | 38 | SensoryNode::SensoryNode(Type t, const std::string&& uri) : |
| 37 | 39 | ObjectCRTP<SensoryNode>(t, std::move(uri)) |
| 38 | 40 | { |
| … | … | @@ -32,12 +32,16 @@ namespace opencog |
| 32 | 32 | * @{ |
| 33 | 33 | */ |
| 34 | 34 | |
| 35 | class SensoryNode; | |
| 36 | extern template class ObjectCRTP<SensoryNode>; | |
| 37 | ||
| 35 | 38 | // Dispatcher for setValue, getValue. |
| 36 | 39 | // Also, holder of URL's. |
| 37 | 40 | class SensoryNode : public ObjectCRTP<SensoryNode> |
| 38 | 41 | { |
| 39 | 42 | friend class ReadStream; |
| 40 | 43 | friend class StringStream; |
| 44 | friend class ObjectCRTP<SensoryNode>; | |
| 41 | 45 | |
| 42 | 46 | protected: |
| 43 | 47 | SensoryNode(Type, const std::string&&); |