cmCoreTryCompile: Simplify TryCompileCode return type

The return value is only used as a boolean, so use `bool`.
This commit is contained in:
Brad King
2022-08-01 11:24:56 -04:00
parent 3218ea60de
commit 781e1b191a
3 changed files with 28 additions and 28 deletions

View File

@@ -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.