Chris Hopman 5e8f1716fc Build new bridge with gradle
Reviewed By: bestander

Differential Revision: D3324351

fbshipit-source-id: 41fa18a23c8661440a7deff244c93278f418e1d9
2016-05-27 16:13:37 -07:00

22 lines
405 B
C++

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <folly/FBString.h>
#include <string>
namespace facebook {
namespace react {
namespace detail {
// TODO(cjhopman): Once folly is updated, remove these.
inline std::string toStdString(std::string&& str) {
return std::move(str);
}
inline std::string toStdString(folly::fbstring&& str) {
return str.toStdString();
}
}}}