Added sharedFile::exists() call to match version in sharedPage class, fixed sharedPage::exists not being inside SHM_ENABLED block.

This commit is contained in:
Thulinma 2018-08-21 10:05:01 +02:00
parent 9947f3a5ec
commit ff19c9c625
2 changed files with 10 additions and 2 deletions

View file

@ -109,9 +109,9 @@ namespace IPC {
bool operator < (const sharedFile & rhs) const {
return name < rhs.name;
}
bool exists(){return true;}
void close();
void unmap();
bool exists();
///\brief The fd handle of the opened shared file
int handle;
///\brief The name of the opened shared file