From 229b14c9478eab30503e06f2b70fea3e56855433 Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Tue, 10 Feb 2015 02:34:08 +0900 Subject: [PATCH] Bug 1130860 - Part 2: Fix static keyword in wrong place. r=me CLOSED TREE --- js/src/vm/RegExpObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/vm/RegExpObject.cpp b/js/src/vm/RegExpObject.cpp index 0f9933260c32..8a65542b543b 100644 --- a/js/src/vm/RegExpObject.cpp +++ b/js/src/vm/RegExpObject.cpp @@ -424,8 +424,8 @@ AppendEscapedLineTerminator(StringBuffer &sb, const char16_t c) return true; } -static template -MOZ_ALWAYS_INLINE bool +template +static MOZ_ALWAYS_INLINE bool SetupBuffer(StringBuffer &sb, const CharT *oldChars, size_t oldLen, const CharT *it) { if (mozilla::IsSame::value && !sb.ensureTwoByteChars())