mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-23 17:39:35 +02:00
fix: Add required C++11 explicit copy constructor
This commit is contained in:
@@ -583,7 +583,8 @@ class FWObjectTypedChildIterator
|
||||
FWObjectTypedChildIterator();
|
||||
FWObjectTypedChildIterator(const FWObjectTypedChildIterator &o);
|
||||
FWObjectTypedChildIterator(const FWObject *o, const std::string &_type_name);
|
||||
|
||||
FWObjectTypedChildIterator& operator=(const FWObjectTypedChildIterator&) = default;
|
||||
|
||||
bool operator==(const FWObject::const_iterator& __x) const;
|
||||
bool operator!=(const FWObject::const_iterator& __x) const;
|
||||
FWObject *operator*() const;
|
||||
|
||||
@@ -289,6 +289,8 @@ public:
|
||||
*/
|
||||
FWObjectDatabase(FWObjectDatabase& d);
|
||||
|
||||
FWObjectDatabase& operator=(const FWObjectDatabase&) = default;
|
||||
|
||||
virtual ~FWObjectDatabase();
|
||||
|
||||
// --- methods dealing with object index
|
||||
|
||||
@@ -64,6 +64,7 @@ public:
|
||||
InterfaceData();
|
||||
InterfaceData(const InterfaceData& other);
|
||||
InterfaceData(const libfwbuilder::Interface &iface);
|
||||
InterfaceData& operator=(const InterfaceData&) = default;
|
||||
virtual ~InterfaceData();
|
||||
|
||||
};
|
||||
|
||||
@@ -1838,4 +1838,3 @@ list<Firewall*> ObjectManipulator::findFirewallsForObject(FWObject *o)
|
||||
{
|
||||
return UsageResolver().findFirewallsForObject(o, this->m_project->db());
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ public:
|
||||
bool hasNext();
|
||||
bool hasPrev();
|
||||
|
||||
constexpr RuleSetModelIterator(const RuleSetModelIterator&) = default;
|
||||
RuleSetModelIterator& operator= (const RuleSetModelIterator&);
|
||||
RuleSetModelIterator& operator++ ();
|
||||
RuleSetModelIterator& operator-- ();
|
||||
|
||||
Reference in New Issue
Block a user