| … | … | @@ -29,6 +29,8 @@ |
| 29 | 29 | |
| 30 | 30 | using namespace opencog; |
| 31 | 31 | |
| 32 | template class ObjectCRTP<CogServerNode>; | |
| 33 | ||
| 32 | 34 | CogServerNode::CogServerNode(Type t, const std::string&& s) |
| 33 | 35 | : ObjectCRTP<CogServerNode>(t, std::move(s)), CogServer() |
| 34 | 36 | { |
| … | … | @@ -37,8 +37,13 @@ namespace opencog |
| 37 | 37 | * to this node to hold server configuration and state. |
| 38 | 38 | */ |
| 39 | 39 | |
| 40 | class CogServerNode; | |
| 41 | extern template class ObjectCRTP<CogServerNode>; | |
| 42 | ||
| 40 | 43 | class CogServerNode : public ObjectCRTP<CogServerNode>, public CogServer |
| 41 | 44 | { |
| 45 | friend class ObjectCRTP<CogServerNode>; | |
| 46 | ||
| 42 | 47 | public: |
| 43 | 48 | // Please do NOT use this constructor! |
| 44 | 49 | CogServerNode(Type, const std::string&&); |