diff options
author | Brad King <brad.king@kitware.com> | 2019-02-25 13:00:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-25 13:02:07 (GMT) |
commit | 94970cd042963bedd4594d867802880b13fa9f69 (patch) | |
tree | d5e73d5905f0148b10c86649293a9c85f3b6830d /Source/cmOutputRequiredFilesCommand.cxx | |
parent | ac419931eed3e62cc69762a2a8b8dd76192999c0 (diff) | |
parent | 9dd255548d0a82994da71c3667f3b6668de50ffd (diff) | |
download | CMake-94970cd042963bedd4594d867802880b13fa9f69.zip CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.gz CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.bz2 |
Merge topic 'error-consolidate'
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2995
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r-- | Source/cmOutputRequiredFilesCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx index e0c1dad..cb9433f 100644 --- a/Source/cmOutputRequiredFilesCommand.cxx +++ b/Source/cmOutputRequiredFilesCommand.cxx @@ -166,7 +166,7 @@ protected: { cmsys::ifstream fin(info->FullPath.c_str()); if (!fin) { - cmSystemTools::Error("error can not open ", info->FullPath.c_str()); + cmSystemTools::Error("error can not open " + info->FullPath); return; } @@ -181,7 +181,7 @@ protected: qstart = line.find('<', 8); // if a < is not found then move on if (qstart == std::string::npos) { - cmSystemTools::Error("unknown include directive ", line.c_str()); + cmSystemTools::Error("unknown include directive " + line); continue; } qend = line.find('>', qstart + 1); |