Skip to content

Commit 559b27d

Browse files
committed
PubackControlHandle needs to be a friend to Aws::Crt::MakeShared
1 parent 4e80fd8 commit 559b27d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/aws/crt/mqtt/private/Mqtt5ClientCore.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ namespace Aws
3535
friend class Mqtt5Client;
3636
friend class Mqtt5ClientCore;
3737
friend struct PubackAcquireFunctor;
38+
template <typename T, typename... Args>
39+
friend std::shared_ptr<T> Aws::Crt::MakeShared(Aws::Crt::Allocator *, Args &&...);
3840

3941
public:
4042
PubackControlHandle() noexcept : m_controlId(0), m_available(false) {}

0 commit comments

Comments
 (0)