Avoid cute::print compiler warnings with -Wformat-security (#1041)

Fixes issue #1040.
This commit is contained in:
Allard Hendriksen
2023-08-18 20:38:27 +02:00
committed by GitHub
parent 2e56cfabee
commit 2a9fa23e06

View File

@ -145,4 +145,10 @@ print(T const&... t) {
(print(t), ...);
}
CUTE_HOST_DEVICE
void
print(char const* format) {
printf("%s", format);
}
} // end namespace cute