diff --git a/.gitignore b/.gitignore index 845dc1b..8851f7e 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,6 @@ build/ -**opencog.log \ No newline at end of file +**opencog.log + +.vscode \ No newline at end of file diff --git a/src/guile/AtomServiceSCM.cpp b/src/guile/AtomServiceSCM.cpp index cbed31d..8734411 100644 --- a/src/guile/AtomServiceSCM.cpp +++ b/src/guile/AtomServiceSCM.cpp @@ -17,8 +17,8 @@ class AtomServiceSCM; //Note: I had to add this custom class because using SchemePrimitive call to member function 'scm_from' is ambiguous //with candidate functions SCM scm_from(SCM scm) const and SCM scm_from(bool b) const template -class CustomSchemePrimitive: public SchemePrimitiveBase { - typedef SchemePrimitiveBase super; +class CustomSchemePrimitive: public SchemeMethodBase { + typedef SchemeMethodBase super; public: CustomSchemePrimitive(const char* module, const char* name, SCM(C::*cb)(Args...), C *data): super(module, name, cb, data){}