Thread-safe version of loopKeepAlive()
[folly.git] / folly / Unicode.h
index 1ed351332f805a1016a98d1683db9dc80a26e51c..542dc10babad2706e5efc2fa10e253e755c9b138 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.
 
 // 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