From e804173595d49a537503ea08bec4663117bae047 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Tue, 2 Apr 2019 21:31:33 +0200 Subject: Codechange: If something is a vector of strings, use a vector of strings instead of an AutoFreeSmallVector. --- src/string_type.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/string_type.h') diff --git a/src/string_type.h b/src/string_type.h index 94d4304df..b4e8237c4 100644 --- a/src/string_type.h +++ b/src/string_type.h @@ -13,6 +13,8 @@ #define STRING_TYPE_H #include "core/enum_type.hpp" +#include +#include /** A non-breaking space. */ #define NBSP "\xC2\xA0" @@ -53,4 +55,8 @@ enum StringValidationSettings { }; DECLARE_ENUM_AS_BIT_SET(StringValidationSettings) + +/** Type for a list of strings. */ +typedef std::vector StringList; + #endif /* STRING_TYPE_H */ -- cgit v1.2.3-54-g00ecf