summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableTestingCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEnableTestingCommand.cxx')
-rw-r--r--Source/cmEnableTestingCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmEnableTestingCommand.cxx b/Source/cmEnableTestingCommand.cxx
index 7381df8..05a6545 100644
--- a/Source/cmEnableTestingCommand.cxx
+++ b/Source/cmEnableTestingCommand.cxx
@@ -63,13 +63,13 @@ void cmEnableTestingCommand::FinalPass()
if (!m_Makefile->GetSubDirectories().empty())
{
fout << "SUBDIRS(";
- const std::vector<std::string>& subdirs = m_Makefile->GetSubDirectories();
- std::vector<std::string>::const_iterator i = subdirs.begin();
- fout << (*i).c_str();
+ const std::vector<std::pair<cmStdString, bool> >& subdirs = m_Makefile->GetSubDirectories();
+ std::vector<std::pair<cmStdString, bool> >::const_iterator i = subdirs.begin();
+ fout << (*i).first.c_str();
++i;
for(; i != subdirs.end(); ++i)
{
- fout << " " << (*i).c_str();
+ fout << " " << i->first.c_str();
}
fout << ")" << std::endl << std::endl;;
}