--- a/bluetooth/btstack/avctp/avctpsap.h Thu Sep 23 17:06:47 2010 +0300
+++ b/bluetooth/btstack/avctp/avctpsap.h Wed Oct 13 16:20:29 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -191,7 +191,7 @@
// the SAPs are "sockets" so that the avctp transport can be very thin and "transient" so effectively forwards calls from L2CAP
// perhaps with a bit of roundrobinning in the CanSend
-class CAvctpControlSAP : public CBluetoothSAP, public MSocketNotify
+NONSHARABLE_CLASS(CAvctpControlSAP) : public CBluetoothSAP, public MSocketNotify
{
public:
static CAvctpControlSAP* NewL(CAvctpProtocol& aProtocol);