From 1eaf39145848ab4b6e3464c32e18f44816d83d1a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 7 Aug 2009 01:43:45 +0000 Subject: [PATCH] Use std::string() instead of std::string(""). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78364 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/Triple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 5c8244c638b..31cf8effc66 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -94,7 +94,7 @@ public: /// @name Constructors /// @{ - Triple() : Data(""), Arch(InvalidArch) {} + Triple() : Data(), Arch(InvalidArch) {} explicit Triple(const StringRef &Str) : Data(Str), Arch(InvalidArch) {} explicit Triple(const char *ArchStr, const char *VendorStr, const char *OSStr) : Data(ArchStr), Arch(InvalidArch) {