Ring buffer: Use as backing for std::queue uses
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "script_event_types.hpp"
|
||||
|
||||
#include <queue>
|
||||
#include "../../core/ring_buffer_queue.hpp"
|
||||
|
||||
#include "../../safeguards.h"
|
||||
|
||||
/** The queue of events for a script. */
|
||||
struct ScriptEventData {
|
||||
std::queue<ScriptEvent *> stack; ///< The actual queue.
|
||||
ring_buffer_queue<ScriptEvent *> stack; ///< The actual queue.
|
||||
};
|
||||
|
||||
/* static */ void ScriptEventController::CreateEventPointer()
|
||||
|
Reference in New Issue
Block a user