mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 19:49:41 +00:00
Remove u32
It's better to use types from the standard library.
This commit is contained in:
185 files changed
+878
-938
No files matched your search
@@ -24,7 +24,6 @@
|
||||
#include "gui/SettingTypes/CGUIString.h"
|
||||
#include "gui/SettingTypes/EAlign.h"
|
||||
#include "gui/SettingTypes/EScrollOrientation.h"
|
||||
#include "lib/types.h"
|
||||
#include "maths/Rect.h"
|
||||
#include "maths/Size2D.h"
|
||||
#include "maths/Vector2D.h"
|
||||
@@ -58,7 +57,7 @@ bool CGUI::ParseString<std::int32_t>(const CGUI*, const CStrW& Value, int& Outpu
|
||||
}
|
||||
|
||||
template <>
|
||||
bool CGUI::ParseString<u32>(const CGUI*, const CStrW& Value, u32& Output)
|
||||
bool CGUI::ParseString<std::uint32_t>(const CGUI*, const CStrW& Value, std::uint32_t& Output)
|
||||
{
|
||||
Output = Value.ToUInt();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user