• Simon Morlat's avatar
    Simplify HybridObject, add documentation and new test cases. · f531a67e
    Simon Morlat authored
    There is no need to inherit from std::enable_shared_from_this; and this was causing problems as HybridObject may not always be contained in a shared_ptr (case where creation is triggered by C code).
    Instead, since the refcounting is done by the HybridObject, it is easy to instanciate shared_ptr<> automatically calling unref(), at any time, when needed.
    f531a67e
Name
Last commit
Last update
build Loading commit data...
cmake Loading commit data...
include Loading commit data...
src Loading commit data...
tester Loading commit data...
tools Loading commit data...
.DS_Store Loading commit data...
.clang-format Loading commit data...
.cproject Loading commit data...
.git-pre-commit Loading commit data...
.gitignore Loading commit data...
.project Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.centos Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
belle-sip.pc.in Loading commit data...
belle-sip.spec.in Loading commit data...
config.h.cmake Loading commit data...
configure.ac Loading commit data...