]> sigrok.org Git - libsigrok.git/commit
C++: Use shared_from_this() exclusively on this
authorDaniel Elstner <redacted>
Sun, 11 Oct 2015 15:01:05 +0000 (17:01 +0200)
committerDaniel Elstner <redacted>
Mon, 26 Oct 2015 05:45:56 +0000 (06:45 +0100)
commit67b82fc9c9b66baacc9f12b7e65a1e4ff0065618
treea9043d8c9568ac7dfd6f3deaef992435b3eb0f33
parent21d1bec60e6d69f6f2ef6f3dc3e07219153285c0
C++: Use shared_from_this() exclusively on this

Never call shared_from_this() on any object other than "this".
Adapt the API so that it can be made protected.
bindings/cxx/classes.cpp
bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp