Fix SimpleBarrier
[folly.git] / folly / Unicode.h
index a0cd6c0c494a57cef3ddcfda65d8626a211564ea..542dc10babad2706e5efc2fa10e253e755c9b138 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 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