mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
forbid Tester helper creation
This commit is contained in:
parent
4cb0e8028c
commit
94c9ad33a5
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ LINPHONE_BEGIN_NAMESPACE
|
|||
|
||||
class Tester {
|
||||
public:
|
||||
Tester () = delete;
|
||||
|
||||
template<typename Object>
|
||||
static constexpr decltype(std::declval<Object>().getPrivate()) getPrivate (Object *cppObject) {
|
||||
return cppObject->getPrivate();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue