namespace lyx {
-using std::string;
-using std::auto_ptr;
-using std::ostream;
-
InsetMarginal::InsetMarginal(BufferParams const & bp)
: InsetFootlike(bp)
{}
-auto_ptr<Inset> InsetMarginal::doClone() const
+Inset * InsetMarginal::clone() const
{
- return auto_ptr<Inset>(new InsetMarginal(*this));
+ return new InsetMarginal(*this);
}