ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache

This commit is contained in:
Bill Hoffman
2001-09-20 15:08:30 -04:00
parent b9d56e8497
commit baa28efd10
111 changed files with 158 additions and 152 deletions

View File

@@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h"
// cmExecutableCommand
bool cmAddTestCommand::InitialPass(std::vector<std::string>& args)
bool cmAddTestCommand::InitialPass(std::vector<std::string> const& args)
{
// First argument is the name of the test
// Second argument is the name of the executable to run (a target or external