Qualify uses of std::string

PiperOrigin-RevId: 332367459
Change-Id: I8023b6ac8a3b67357dff4211d103b62b93ef8f23
This commit is contained in:
A. Unique TensorFlower 2020-09-17 19:39:23 -07:00 committed by TensorFlower Gardener
parent 294ef77385
commit 960e511b98
2 changed files with 3 additions and 2 deletions

View File

@ -501,7 +501,7 @@ class FileSystem {
/// \brief Get token for `path` or start a new transaction and add `path` to
/// it.
virtual tensorflow::Status GetTokenOrStartTransaction(
const string& path, TransactionToken** token) {
const std::string& path, TransactionToken** token) {
*token = nullptr;
return Status::OK();
}

View File

@ -75,7 +75,8 @@ using gpuStream_t = hipStream_t;
namespace tensorflow {
inline string ConvertGPUSparseErrorToString(const gpusparseStatus_t status) {
inline std::string ConvertGPUSparseErrorToString(
const gpusparseStatus_t status) {
switch (status) {
#define STRINGIZE(q) #q
#define RETURN_IF_STATUS(err) \