mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
fixing build bustage on HP's & AIX's new compilers
removing the static keyword from a couple templates sr=jst@netscape.com # 106167
This commit is contained in:
parent
1c57cc75d5
commit
b8afc18761
@ -77,7 +77,7 @@ static const char* GetLinebreakString(nsLinebreakConverter::ELinebreakType aBrea
|
||||
Wee inline method to append a line break. Modifies ioDest.
|
||||
----------------------------------------------------------------------------*/
|
||||
template<class T>
|
||||
static void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
|
||||
void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
|
||||
{
|
||||
*ioDest++ = *lineBreakStr;
|
||||
|
||||
@ -91,7 +91,7 @@ static void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
|
||||
Counts occurrences of breakStr in aSrc
|
||||
----------------------------------------------------------------------------*/
|
||||
template<class T>
|
||||
static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
|
||||
PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
|
||||
{
|
||||
const T* src = aSrc;
|
||||
const T* srcEnd = aSrc + inLen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user