mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
cmCoreTryCompile: Simplify TryCompileCode return type
The return value is only used as a boolean, so use `bool`.
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
* commands, such as TryRun can access the same logic without
|
||||
* duplication.
|
||||
*/
|
||||
int TryCompileCode(std::vector<std::string> const& argv, bool isTryRun);
|
||||
bool TryCompileCode(std::vector<std::string> const& argv, bool isTryRun);
|
||||
|
||||
/**
|
||||
* This deletes all the files created by TryCompileCode.
|
||||
|
||||
Reference in New Issue
Block a user