summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-12 12:11:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-12 13:48:21 +0100
commitb472ba671ab4e388786a109ac61823e0f7290cd4 (patch)
tree43368d667aa869270571db9df8011e44924015c9 /stoc
parent4518430734b276271e130e6198d40a996794cb62 (diff)
cppcheck: noCopyConstructor
Change-Id: I62da241f237b17fc192dd586bcd35b5bd6ea284a
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 102fdebf10d6..ecc67cbf9afe 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -164,6 +164,10 @@ struct AdapterImpl
void * key, Reference< script::XInvocation > const & xReceiver,
const Sequence< Type > & rTypes,
FactoryImpl * pFactory );
+
+ // Copy assignment is forbidden and not implemented.
+ AdapterImpl (const AdapterImpl &) SAL_DELETED_FUNCTION;
+ AdapterImpl & operator= (const AdapterImpl &) SAL_DELETED_FUNCTION;
};
inline AdapterImpl::~AdapterImpl()