diff options
Diffstat (limited to 'include/core/SkString.h')
-rw-r--r-- | include/core/SkString.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkString.h b/include/core/SkString.h index aa3292abfe..300d9ed8ef 100644 --- a/include/core/SkString.h +++ b/include/core/SkString.h @@ -274,9 +274,7 @@ SkString SkStringPrintf(const char* format, ...); /// optional. static inline SkString SkStringPrintf() { return SkString(); } -// Specialized to take advantage of SkString's fast swap path. The unspecialized function is -// declared in SkTypes.h and called by SkTSort. -template <> inline void SkTSwap(SkString& a, SkString& b) { +static inline void swap(SkString& a, SkString& b) { a.swap(b); } |