From fd7f6fcf91596688192925a40757b639941fcfff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Sat, 20 Dec 2025 17:01:39 +0100 Subject: [PATCH] Codechange: [Script] Specify underlying type for ScriptList::SorterType (#14942) --- src/script/api/script_list.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/api/script_list.hpp b/src/script/api/script_list.hpp index c2c235314b..c3cc0382eb 100644 --- a/src/script/api/script_list.hpp +++ b/src/script/api/script_list.hpp @@ -25,7 +25,7 @@ class ScriptListSorter; class ScriptList : public ScriptObject { public: /** Type of sorter */ - enum SorterType { + enum SorterType : uint8_t { SORT_BY_VALUE, ///< Sort the list based on the value of the item. SORT_BY_ITEM, ///< Sort the list based on the item itself. };