Commit 94c9ad33 authored by Benjamin REIS's avatar Benjamin REIS
Browse files

forbid Tester helper creation

parent 4cb0e802
......@@ -34,6 +34,8 @@ LINPHONE_BEGIN_NAMESPACE
class Tester {
Tester () = delete;
template<typename Object>
static constexpr decltype(std::declval<Object>().getPrivate()) getPrivate (Object *cppObject) {
return cppObject->getPrivate();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment