mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 12:50:29 +00:00
Remove i32
It's better to use types from the standard library.
This commit is contained in:
39 files changed
+188
-187
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
/* Copyright (C) 2026 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -51,7 +51,7 @@ bool CGUI::ParseString<bool>(const CGUI*, const CStrW& Value, bool& Output)
|
||||
}
|
||||
|
||||
template <>
|
||||
bool CGUI::ParseString<i32>(const CGUI*, const CStrW& Value, int& Output)
|
||||
bool CGUI::ParseString<std::int32_t>(const CGUI*, const CStrW& Value, int& Output)
|
||||
{
|
||||
Output = Value.ToInt();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user