summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-08 11:16:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-08 11:16:51 (GMT)
commit3a88a24b1a1d97dd29c5cedb99553788d9a4830f (patch)
tree9a468769460862144b95e981fb9aac7f870d0d73
parenta956b8c68c37eaa924ce3cfd57db2b7ec410a2b1 (diff)
downloadCMake-3a88a24b1a1d97dd29c5cedb99553788d9a4830f.zip
CMake-3a88a24b1a1d97dd29c5cedb99553788d9a4830f.tar.gz
CMake-3a88a24b1a1d97dd29c5cedb99553788d9a4830f.tar.bz2
Remove push_back on string. Why can't STL be standard?
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 47a740a..c5cfda8 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1308,7 +1308,7 @@ int cmCTest::CoverageDirectory()
std::string src_dir = m_DartConfiguration["SourceDirectory"];
if ( src_dir[src_dir.size()-1] != '/' )
{
- src_dir.push_back('/');
+ src_dir = src_dir + "/";
}
std::string::size_type spos = cov.m_FullPath.find(src_dir);
if ( spos == 0 )