mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 18:32:35 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -167,7 +167,7 @@ void TextfileWindow::SetupScrollbars(bool force_reflow)
|
||||
static const std::regex _markdown_link_regex{"\\[(.+?)\\]\\((.+?)\\)", std::regex_constants::ECMAScript | std::regex_constants::optimize};
|
||||
|
||||
/** Types of link we support in markdown files. */
|
||||
enum class HyperlinkType {
|
||||
enum class HyperlinkType : uint8_t {
|
||||
Internal, ///< Internal link, or "anchor" in HTML language.
|
||||
Web, ///< Link to an external website.
|
||||
File, ///< Link to a local file.
|
||||
|
||||
Reference in New Issue
Block a user