mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
made startsWith() static, to fix no prototype warning.
This commit is contained in:
parent
e863459fb5
commit
2d4c0ff91a
@ -63,7 +63,7 @@ namespace Debugger {
|
|||||||
|
|
||||||
/* return true if str2 starts with/is str1
|
/* return true if str2 starts with/is str1
|
||||||
* XXX ignore case */
|
* XXX ignore case */
|
||||||
bool
|
static bool
|
||||||
startsWith (const String &str1, const String &str2)
|
startsWith (const String &str1, const String &str2)
|
||||||
{
|
{
|
||||||
uint n;
|
uint n;
|
||||||
|
@ -63,7 +63,7 @@ namespace Debugger {
|
|||||||
|
|
||||||
/* return true if str2 starts with/is str1
|
/* return true if str2 starts with/is str1
|
||||||
* XXX ignore case */
|
* XXX ignore case */
|
||||||
bool
|
static bool
|
||||||
startsWith (const String &str1, const String &str2)
|
startsWith (const String &str1, const String &str2)
|
||||||
{
|
{
|
||||||
uint n;
|
uint n;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user