diff --git a/src/app/commands/cmd_paste.cpp b/src/app/commands/cmd_paste.cpp index d698a4e5d..fce3a3ee1 100644 --- a/src/app/commands/cmd_paste.cpp +++ b/src/app/commands/cmd_paste.cpp @@ -14,6 +14,8 @@ #include "app/commands/params.h" #include "app/ui/input_chain.h" +#include + namespace app { class PasteCommand : public Command { @@ -25,7 +27,7 @@ protected: bool onEnabled(Context* ctx) override; void onExecute(Context* ctx) override; private: - std::shared_ptr m_position; + std::unique_ptr m_position; }; PasteCommand::PasteCommand()