diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-11 17:33:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-15 09:25:12 (GMT) |
commit | f796e1b6f6984b200453a13e6b8640353ff9488b (patch) | |
tree | 1bfd77e18dcc25758b17bb590f75270b967728d2 /Source/cmLocalGenerator.cxx | |
parent | c75a9d660169ddd1e7be57486d3813ca73886b55 (diff) | |
download | CMake-f796e1b6f6984b200453a13e6b8640353ff9488b.zip CMake-f796e1b6f6984b200453a13e6b8640353ff9488b.tar.gz CMake-f796e1b6f6984b200453a13e6b8640353ff9488b.tar.bz2 |
cmLocalGenerator: Move memset to cxx file
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index fad7fae..849ffe4 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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) |