prevPowTwo / faster bit operations
[folly.git] / folly / Unicode.cpp
index 5e4c1a649ef6717d1ef8ff09de9d5fd052af77c6..c36bd077082ff0007228ea5610d4ceb156653300 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@ namespace folly {
 
 //////////////////////////////////////////////////////////////////////
 
-fbstring codePointToUtf8(char32_t cp) {
-  fbstring result;
+std::string codePointToUtf8(char32_t cp) {
+  std::string result;
 
   // Based on description from http://en.wikipedia.org/wiki/UTF-8.
 
@@ -51,4 +51,3 @@ fbstring codePointToUtf8(char32_t cp) {
 //////////////////////////////////////////////////////////////////////
 
 }
-