1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-01 03:39:16 +00:00

added inline for voidp

This commit is contained in:
Zeno Rogue 2020-03-27 19:39:33 +01:00
parent 4d4c904d3b
commit 8b37a9ffbf

View File

@ -35,7 +35,7 @@ template<class T>
void ignore(T&&) {
}
const void *voidp(const void *p) {
inline const void *voidp(const void *p) {
// a simple static_cast<void*> for use with printf("%p")
return p;
}