Thread-safe version of loopKeepAlive()
[folly.git] / folly / Unicode.h
index d07cf310786bf5111e1849bad651396fba36227d..542dc10babad2706e5efc2fa10e253e755c9b138 100644 (file)
 
 // Some utility routines relating to unicode.
 
-#ifndef FOLLY_UNICODE_H_
-#define FOLLY_UNICODE_H_
+#pragma once
 
-#include <folly/FBString.h>
+#include <string>
 
 namespace folly {
 
@@ -30,10 +29,8 @@ namespace folly {
  *
  * Return value is undefined if `cp' is an invalid code point.
  */
-fbstring codePointToUtf8(char32_t cp);
+std::string codePointToUtf8(char32_t cp);
 
 //////////////////////////////////////////////////////////////////////
 
 }
-
-#endif