Decouple <cstddef>
This commit is contained in:
+6
-5
@@ -4,9 +4,10 @@
|
||||
#include "RageLog.h"
|
||||
#include "arch/Dialog/Dialog.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <numeric>
|
||||
|
||||
RString Command::GetName() const
|
||||
RString Command::GetName() const
|
||||
{
|
||||
if( m_vsArgs.empty() )
|
||||
return RString();
|
||||
@@ -41,9 +42,9 @@ static void SplitWithQuotes( const RString sSource, const char Delimitor, std::v
|
||||
if( sSource.empty() )
|
||||
return;
|
||||
|
||||
size_t startpos = 0;
|
||||
std::size_t startpos = 0;
|
||||
do {
|
||||
size_t pos = startpos;
|
||||
std::size_t pos = startpos;
|
||||
while( pos < sSource.size() )
|
||||
{
|
||||
if( sSource[pos] == Delimitor )
|
||||
@@ -110,7 +111,7 @@ Commands ParseCommands( const RString &sCommands )
|
||||
/*
|
||||
* (c) 2004 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
|
||||
@@ -120,7 +121,7 @@ Commands ParseCommands( const RString &sCommands )
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user