Skip to content

Commit 2be60e9

Browse files
committed
Add missing header
1 parent b47f471 commit 2be60e9

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

src/ystdlib/testlib/math.hpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#ifndef YSTDLIB_TESTLIB_MATH_HPP
2+
#define YSTDLIB_TESTLIB_MATH_HPP
3+
4+
#include <concepts>
5+
6+
namespace ystdlib::testlib {
7+
template <typename T>
8+
requires std::integral<T>
9+
[[nodiscard]] inline auto square(T x) -> T {
10+
return x * x;
11+
}
12+
} // namespace ystdlib::testlib
13+
14+
#endif // YSTDLIB_TESTLIB_MATH_HPP

taskfiles/deps.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ tasks:
2222
internal: true
2323
platforms:
2424
- "darwin"
25-
dir: "{{.G_SCRIPT_DIR}}/lib_install/macos"
2625
cmds:
27-
- "./install-all.sh"
26+
- echo "Nothing to be installed for macOS."

tools/scripts/lib_install/macos/install-all.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)