From 4dc629fc6758812e6e710d491da2777a78097690 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Sat, 22 Jun 2019 15:06:17 -0700 Subject: [PATCH] Change string to std::string. PiperOrigin-RevId: 254580672 --- mlir/include/mlir/Support/DebugStringHelper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mlir/include/mlir/Support/DebugStringHelper.h b/mlir/include/mlir/Support/DebugStringHelper.h index 49a0c05..230ed23 100644 --- a/mlir/include/mlir/Support/DebugStringHelper.h +++ b/mlir/include/mlir/Support/DebugStringHelper.h @@ -33,8 +33,7 @@ namespace mlir { // Simple helper function that returns a string as printed from a op. -template -static string debugString(T &op) { +template static std::string debugString(T &op) { std::string instr_str; llvm::raw_string_ostream os(instr_str); op.print(os); -- 2.7.4