Initialize members properly during construction

llvm-svn: 51841
This commit is contained in:
Anton Korobeynikov 2008-06-01 16:22:49 +00:00
parent d14212a3e1
commit 4cdd9d48ac

View File

@ -352,8 +352,8 @@ struct ToolProperties : public RefCountedBase<ToolProperties> {
// Default ctor here is needed because StringMap can only store
// DefaultConstructible objects
ToolProperties() : Flags(0) {}
ToolProperties (const std::string& n) : Name(n), Flags(0) {}
ToolProperties() : CmdLine(0), Flags(0) {}
ToolProperties (const std::string& n) : Name(n), CmdLine(0), Flags(0) {}
};