mirror of https://github.com/stella-emu/stella.git
Fix minor clang warnings.
This commit is contained in:
parent
ce10108660
commit
bab08b2660
|
@ -310,7 +310,7 @@ void FBSurface::frameRect(uInt32 x, uInt32 y, uInt32 w, uInt32 h,
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void FBSurface::wrapString(const string inStr, int pos, string& leftStr, string& rightStr) const
|
void FBSurface::wrapString(const string& inStr, int pos, string& leftStr, string& rightStr) const
|
||||||
{
|
{
|
||||||
for(int i = pos; i > 0; --i)
|
for(int i = pos; i > 0; --i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -364,11 +364,11 @@ class FBSurface
|
||||||
*/
|
*/
|
||||||
bool checkBounds(const uInt32 x, const uInt32 y) const;
|
bool checkBounds(const uInt32 x, const uInt32 y) const;
|
||||||
|
|
||||||
void wrapString(const string inStr, int pos, string& leftStr, string& rightStr) const;
|
void wrapString(const string& inStr, int pos, string& leftStr, string& rightStr) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Check if the given character is a whitespace.
|
Check if the given character is a whitespace.
|
||||||
@param c Character to check
|
@param s Character to check
|
||||||
@return True if whitespace character
|
@return True if whitespace character
|
||||||
*/
|
*/
|
||||||
bool isWhiteSpace(const char s) const;
|
bool isWhiteSpace(const char s) const;
|
||||||
|
|
Loading…
Reference in New Issue