Kaydet (Commit) 02dc2caf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

svx: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)

...by removing explicitly user-provided functions that do the same as their
implicitly-defined counterparts, but may prevent implicitly declared copy
functions from being defined as non-deleted in the future.  (Even if a dtor was
declared non-inline in an include file, the apparently-used implicitly-defined
copy functions are already inline, so why bother with a non-inline dtor.)

Change-Id: Ic8c24977a68d33a0051a74617fb4b4dcc2b664df
Reviewed-on: https://gerrit.libreoffice.org/58094
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst c441672c
......@@ -33,7 +33,6 @@ class ContextList
{
public:
ContextList();
~ContextList();
class Entry
{
......
......@@ -188,13 +188,6 @@ class PreventDuplicateInteraction : private ThreadHelpBase2
, m_nMaxCount (nMaxCount )
, m_nCallCount (0 )
{}
InteractionInfo(const InteractionInfo& aCopy)
: m_aInteraction(aCopy.m_aInteraction)
, m_nMaxCount (aCopy.m_nMaxCount )
, m_nCallCount (aCopy.m_nCallCount )
, m_xRequest (aCopy.m_xRequest )
{}
};
typedef ::std::vector< InteractionInfo > InteractionList;
......
......@@ -28,10 +28,6 @@ ContextList::ContextList()
{
}
ContextList::~ContextList()
{
}
const ContextList::Entry* ContextList::GetMatch (const Context& rContext) const
{
const ::std::vector<Entry>::const_iterator iEntry = FindBestMatch(rContext);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment