From a403a0c8e31c5c615b1b0d445c56e45b2a36d033 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Fri, 18 Aug 2023 18:39:54 +0100 Subject: [PATCH] Use ring buffer for script log line data --- src/script/api/script_log_types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/api/script_log_types.hpp b/src/script/api/script_log_types.hpp index b10ea0cea3..e7cdd96a29 100644 --- a/src/script/api/script_log_types.hpp +++ b/src/script/api/script_log_types.hpp @@ -10,7 +10,7 @@ #ifndef SCRIPT_LOG_TYPES_HPP #define SCRIPT_LOG_TYPES_HPP -#include +#include "../../core/ring_buffer.hpp" namespace ScriptLogTypes { /** @@ -41,7 +41,7 @@ namespace ScriptLogTypes { * This has no use for you, as script writer. * @api -all */ - using LogData = std::deque; ///< The log type + using LogData = ring_buffer; ///< The log type }; #endif /* SCRIPT_LOG_TYPES_HPP */