mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 17:53:00 +00:00
added inline for voidp
This commit is contained in:
2
hyper.h
2
hyper.h
@@ -35,7 +35,7 @@ template<class T>
|
|||||||
void ignore(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")
|
// a simple static_cast<void*> for use with printf("%p")
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user