Commit 1fe2d8c9 authored by Pavel Vainerman's avatar Pavel Vainerman
parent f6d9e943
...@@ -90,6 +90,8 @@ SMInterface::SMInterface( UniSetTypes::ObjectId _shmID, UniversalInterface* _ui, ...@@ -90,6 +90,8 @@ SMInterface::SMInterface( UniSetTypes::ObjectId _shmID, UniversalInterface* _ui,
shmID(_shmID), shmID(_shmID),
myid(_myid) myid(_myid)
{ {
if( shmID == DefaultObjectId )
throw UniSetTypes::SystemError("(SMInterface): Unknown shmID!" );
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
SMInterface::~SMInterface() SMInterface::~SMInterface()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment