Decouple <cstddef>

This commit is contained in:
Martin Natano
2023-04-19 23:04:25 +02:00
parent 093675cdc3
commit 78fb2e9fc3
171 changed files with 2012 additions and 1786 deletions
+6 -4
View File
@@ -9,6 +9,8 @@
#include "LocalizedString.h"
#include "OptionRowHandler.h"
#include <cstddef>
REGISTER_SCREEN_CLASS( ScreenOptionsMemoryCard );
void ScreenOptionsMemoryCard::Init()
@@ -30,7 +32,7 @@ bool ScreenOptionsMemoryCard::UpdateCurrentUsbStorageDevices()
const std::vector<UsbStorageDevice> &aNewDevices = MEMCARDMAN->GetStorageDevices();
m_CurrentUsbStorageDevices.clear();
for( size_t i = 0; i < aNewDevices.size(); ++i )
for( std::size_t i = 0; i < aNewDevices.size(); ++i )
{
const UsbStorageDevice &dev = aNewDevices[i];
if( dev.m_State == UsbStorageDevice::STATE_CHECKING )
@@ -81,7 +83,7 @@ void ScreenOptionsMemoryCard::CreateMenu()
def.m_bAllowThemeTitle = true;
def.m_bOneChoiceForAllPlayers = true;
}
InitMenu( vHands );
}
@@ -224,7 +226,7 @@ void ScreenOptionsMemoryCard::ProcessMenuStart( const InputEventPlus & )
/*
* (c) 2005 Chris Danford
* All rights reserved.
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@@ -234,7 +236,7 @@ void ScreenOptionsMemoryCard::ProcessMenuStart( const InputEventPlus & )
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF