diff options
author | Markus Ferrell <markus.ferrell@kitware.com> | 2022-10-25 19:38:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-25 20:31:38 (GMT) |
commit | 277fbb3035cbf5de118412172be307849a4315cb (patch) | |
tree | 42d753ea4b0cafb3607c08c095901a6192898622 /Help/guide/tutorial/Step2/tutorial.cxx | |
parent | d0451d1a67a880d1c8ff2f2ebfca47904d723bce (diff) | |
download | CMake-277fbb3035cbf5de118412172be307849a4315cb.zip CMake-277fbb3035cbf5de118412172be307849a4315cb.tar.gz CMake-277fbb3035cbf5de118412172be307849a4315cb.tar.bz2 |
Tutorial: Restore USE_MYMATH in place of MY_MATH
In commit 80f5d28813 (Tutorial: Update step 2 style, 2022-07-25,
v3.25.0-rc1~226^2) we replaced some uses of `USE_MYMATH` with `MY_MATH`.
Restore the former name for consistency with the rest of the tutorial.
Diffstat (limited to 'Help/guide/tutorial/Step2/tutorial.cxx')
-rw-r--r-- | Help/guide/tutorial/Step2/tutorial.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/guide/tutorial/Step2/tutorial.cxx b/Help/guide/tutorial/Step2/tutorial.cxx index f83aa7e..87f5e0f 100644 --- a/Help/guide/tutorial/Step2/tutorial.cxx +++ b/Help/guide/tutorial/Step2/tutorial.cxx @@ -5,7 +5,7 @@ #include "TutorialConfig.h" -// TODO 11: Only include MathFunctions if MY_MATH is defined +// TODO 11: Only include MathFunctions if USE_MYMATH is defined // TODO 5: Include MathFunctions.h @@ -22,7 +22,7 @@ int main(int argc, char* argv[]) // convert input to double const double inputValue = std::stod(argv[1]); - // TODO 12: Use mysqrt if MY_MATH is defined and sqrt otherwise + // TODO 12: Use mysqrt if USE_MYMATH is defined and sqrt otherwise // TODO 6: Replace sqrt with mysqrt |