diff options
author | Brad King <brad.king@kitware.com> | 2023-02-24 13:33:58 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-02-24 08:34:24 -0500 |
commit | 1d939b43b2833c845db3588cef80a7e55edc6a53 (patch) | |
tree | 8e47f96f71c364ff1a7b50adc2b9030b6e55eaa9 /Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h | |
parent | 7552276e6ecfa918fd54978d939ab7532920346e (diff) | |
parent | 8ddf32196c6bca9c3a80414222327eebd5d51835 (diff) | |
download | cmake-1d939b43b2833c845db3588cef80a7e55edc6a53.tar.gz |
Merge topic 'tutorial_dependency_inversion'
8ddf32196c Tutorial: Refactor MathFunctions code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7789
Diffstat (limited to 'Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h')
-rw-r--r-- | Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h b/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h index cd36bccffd..d5c2f224bf 100644 --- a/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h +++ b/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h @@ -1 +1,5 @@ -double mysqrt(double x); +#pragma once + +namespace mathfunctions { +double sqrt(double x); +} |