diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-03-18 21:25:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 15:39:14 (GMT) |
commit | b172a81d5512a2f0973dae6d5545b159e5b1ec2b (patch) | |
tree | b035bb75e4ac6c2ad13663a2b8ba514cecc4ea5e /Source/ctest.cxx | |
parent | 46090c2337f9d867b8662247f0033f002742d42b (diff) | |
download | CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.zip CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.gz CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.bz2 |
cmCTest: Use concrete accessor functions for TestingHandlers
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 4a2531a..461021b 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -191,8 +191,7 @@ int main(int argc, char const* const* argv) doc.addCTestStandardDocSections(); if (doc.CheckOptions(argc, argv)) { // Construct and print requested documentation. - cmCTestScriptHandler* ch = - static_cast<cmCTestScriptHandler*>(inst.GetHandler("script")); + cmCTestScriptHandler* ch = inst.GetScriptHandler(); ch->CreateCMake(); doc.SetShowGenerators(false); |