mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
Initialize members properly during construction
llvm-svn: 51841
This commit is contained in:
parent
d14212a3e1
commit
4cdd9d48ac
@ -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) {}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user