]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.h
pimpl not needed here
[lyx.git] / src / insets / InsetOptArg.h
index 2a289120d54aab6c40e343e859688922206f69d8..849afe79a48e931aab19021ddf602c1d36d31189 100644 (file)
@@ -28,7 +28,7 @@ public:
        InsetOptArg(BufferParams const &);
 
        /// code of the inset
-       Inset::Code lyxCode() const { return Inset::OPTARG_CODE; }
+       InsetCode lyxCode() const { return OPTARG_CODE; }
        /// return an message upon editing
        virtual docstring const editMessage() const;
 
@@ -53,7 +53,7 @@ public:
 protected:
        InsetOptArg(InsetOptArg const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };