X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/b80e619319b1def83d1e8b4f84042b661be1be7f..14957cd040308e3eeec43d26bae5d76da13fcd85:/wtf/unicode/CollatorDefault.cpp?ds=sidebyside diff --git a/wtf/unicode/CollatorDefault.cpp b/wtf/unicode/CollatorDefault.cpp index 4e05432..7bde114 100644 --- a/wtf/unicode/CollatorDefault.cpp +++ b/wtf/unicode/CollatorDefault.cpp @@ -47,7 +47,7 @@ void Collator::setOrderLowerFirst(bool) PassOwnPtr Collator::userDefault() { - return new Collator(0); + return adoptPtr(new Collator(0)); } // A default implementation for platforms that lack Unicode-aware collation.