diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-12 12:11:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-12 13:48:21 +0100 |
commit | b472ba671ab4e388786a109ac61823e0f7290cd4 (patch) | |
tree | 43368d667aa869270571db9df8011e44924015c9 /stoc | |
parent | 4518430734b276271e130e6198d40a996794cb62 (diff) |
cppcheck: noCopyConstructor
Change-Id: I62da241f237b17fc192dd586bcd35b5bd6ea284a
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/invocation_adapterfactory/iafactory.cxx | 4 |
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() |