Commit f796e1b6 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmLocalGenerator: Move memset to cxx file

parent c75a9d66
......@@ -560,6 +560,11 @@ cmState::Snapshot cmLocalGenerator::GetStateSnapshot() const
return this->Makefile->GetStateSnapshot();
}
cmLocalGenerator::RuleVariables::RuleVariables()
{
memset(this, 0, sizeof(*this));
}
std::string cmLocalGenerator::ExpandRuleVariable(
cmOutputConverter* outputConverter, std::string const& variable,
const RuleVariables& replaceValues)
......
......@@ -221,7 +221,7 @@ public:
// ExpandRuleVariables
struct RuleVariables
{
RuleVariables() { memset(this, 0, sizeof(*this)); }
RuleVariables();
const char* CMTargetName;
const char* CMTargetType;
const char* TargetPDB;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment