-
This commit is contained in:
@@ -55,6 +55,9 @@ public:
|
||||
~Shm();
|
||||
};
|
||||
|
||||
template <class T> void ref(Shm *shm, int place, T **p);
|
||||
template <class T> inline void ref(Shm *shm, int place, T **p)
|
||||
{
|
||||
*p = reinterpret_cast<T *>(shm->ref(place));
|
||||
}
|
||||
|
||||
#endif // SHM_H
|
||||
|
||||
Reference in New Issue
Block a user