Forbid copying and assignment in layout classes.
Specifically in: * BAbstractLayout * BAbstractLayoutItem * BGridLayout * BGridView * BGroupLayout * BGroupView * BLayout * BSplitView * BTwoDimensionalLayout
This commit is contained in:
@@ -24,6 +24,12 @@ public:
|
||||
BGridLayout* GridLayout() const;
|
||||
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
private:
|
||||
|
||||
// forbidden methods
|
||||
BGridView(const BGridView&);
|
||||
void operator =(const BGridView&);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user