Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit dd5010c

Browse files
committed
Don't mark sign inline as it's used externally
1 parent 90f54a5 commit dd5010c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apricots/all.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int wrap(int n, int min, int max) { return ((((n - min) % (max - min)) + max - m
1818

1919
// Sign function
2020

21-
inline int sign(int n) { return (0 < n) - (n < 0); }
21+
int sign(int n) { return (0 < n) - (n < 0); }
2222

2323
// Error message for switch statements that shouldn't ever get to default
2424

0 commit comments

Comments
 (0)