mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmLocalGenerator: Move memset to cxx file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user