diff options
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cpack.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 10f60b2..94e1615 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -414,8 +414,8 @@ int main(int argc, char const* const* argv) for (generatorIt = generators.GetGeneratorsList().begin(); generatorIt != generators.GetGeneratorsList().end(); ++generatorIt) { cmDocumentationEntry e; - e.Name = generatorIt->first.c_str(); - e.Brief = generatorIt->second.c_str(); + e.Name = generatorIt->first; + e.Brief = generatorIt->second; v.push_back(e); } doc.SetSection("Generators", v); |