Avoid cute::print compiler warnings with -Wformat-security (#1041)
Fixes issue #1040.
This commit is contained in:
parent
2e56cfabee
commit
2a9fa23e06
@ -145,4 +145,10 @@ print(T const&... t) {
|
||||
(print(t), ...);
|
||||
}
|
||||
|
||||
CUTE_HOST_DEVICE
|
||||
void
|
||||
print(char const* format) {
|
||||
printf("%s", format);
|
||||
}
|
||||
|
||||
} // end namespace cute
|
||||
|
Loading…
Reference in New Issue
Block a user