Make lines_to_delete a vector

This commit is contained in:
Thomas Goyne 2014-02-01 20:57:05 -08:00
parent 2d259bb27e
commit 3d22784998

View file

@ -37,6 +37,7 @@
#include "command/command.h" #include "command/command.h"
#include <deque> #include <deque>
#include <vector>
#include <wx/event.h> #include <wx/event.h>
#include <wx/thread.h> #include <wx/thread.h>
@ -83,7 +84,7 @@ namespace Automation4 {
/// Commits to apply once processing completes successfully /// Commits to apply once processing completes successfully
std::deque<PendingCommit> pending_commits; std::deque<PendingCommit> pending_commits;
/// Lines to delete once processing complete successfully /// Lines to delete once processing complete successfully
std::deque<std::unique_ptr<AssEntry>> lines_to_delete; std::vector<std::unique_ptr<AssEntry>> lines_to_delete;
int ObjectIndexRead(lua_State *L); int ObjectIndexRead(lua_State *L);
void ObjectIndexWrite(lua_State *L); void ObjectIndexWrite(lua_State *L);