api: allow getting current bot goal.

api: do not use buckets for nearest node search.
This commit is contained in:
ds 2020-11-06 10:27:19 +03:00
commit a0202efc40
5 changed files with 26 additions and 9 deletions

View file

@ -84,4 +84,10 @@ template <typename T> T &Singleton <T>::instance () {
return *instance_;
}
// declare destructor for pure-virtual classes
#define CR_DECLARE_DESTRUCTOR() \
void operator delete (void *ptr) { \
alloc.deallocate (ptr); \
} \
CR_NAMESPACE_END