diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2014-08-04 19:16:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2014-08-04 19:16:40 (GMT) |
commit | 7762fffa238a9bbc28658742792c25c10a7cc9c5 (patch) | |
tree | 0dffb920cf30e1c082a600b93fbcdb8ae0fc62fc /Source/cmCTest.h | |
parent | ba60ff99ed2ea35f8b8c24bc566b6f60d51fce53 (diff) | |
download | CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.zip CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.tar.gz CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.tar.bz2 |
Change output to be a reference and not a pointer.
This avoids having to check the pointer value at each use which
was not being done.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 246294f..e19d32c 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -271,7 +271,7 @@ public: //! Run command specialized for make and configure. Returns process status // and retVal is return value or exception. - int RunMakeCommand(const char* command, std::string* output, + int RunMakeCommand(const char* command, std::string& output, int* retVal, const char* dir, int timeout, std::ostream& ofs); |