summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-01 15:24:56 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-02 12:04:20 (GMT)
commit781e1b191a812e3f808ce272baaaa0689d30d953 (patch)
treeb8665e900982746128431ae29c786f02b5eda82b /Source/cmCoreTryCompile.h
parent3218ea60dea79819aa415bfa60c285e43326985e (diff)
downloadCMake-781e1b191a812e3f808ce272baaaa0689d30d953.zip
CMake-781e1b191a812e3f808ce272baaaa0689d30d953.tar.gz
CMake-781e1b191a812e3f808ce272baaaa0689d30d953.tar.bz2
cmCoreTryCompile: Simplify TryCompileCode return type
The return value is only used as a boolean, so use `bool`.
Diffstat (limited to 'Source/cmCoreTryCompile.h')
-rw-r--r--Source/cmCoreTryCompile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCoreTryCompile.h b/Source/cmCoreTryCompile.h
index 9d43899..1e70293 100644
--- a/Source/cmCoreTryCompile.h
+++ b/Source/cmCoreTryCompile.h
@@ -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.