#include "InsetList.h"
#include "debug.h"
-#include "insets/inset.h"
+#include "insets/updatableinset.h"
#include <algorithm>
/// used by lower_bound and upper_bound
inline
int operator()(InsetList::InsetTable const & a,
- InsetList::InsetTable const & b) const {
+ InsetList::InsetTable const & b) const
+ {
return a.pos < b.pos;
}
};
}
-InsetList::~InsetList()
+InsetList::~InsetList()
{
// If we begin storing a shared_ptr in the List
// this code can be removed. (Lgb)
return 0;
}
-
+
Inset * InsetList::get(pos_type pos) const
{
InsetTable search_elem(pos, 0);
InsetList::iterator const & i2)
{
return i1.it == i2.it;
-
+
}
-
+
bool operator!=(InsetList::iterator const & i1,
InsetList::iterator const & i2)