Use std::string() instead of std::string("").

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-08-07 01:43:45 +00:00
parent 7db949df78
commit 1eaf391458

View File

@ -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) {