diff options
Diffstat (limited to 'cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp')
-rw-r--r-- | cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp b/cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp index 4813ca17573..95e62606da5 100644 --- a/cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp +++ b/cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp @@ -40,11 +40,11 @@ Filesystem::FileI::destroy(const Ice::Current& c) { IceUtil::Mutex::Lock lock(_mutex); - if(_destroyed) - { - throw Ice::ObjectNotExistException(__FILE__, __LINE__, c.id, c.facet, c.operation); - } - _destroyed = true; + if(_destroyed) + { + throw Ice::ObjectNotExistException(__FILE__, __LINE__, c.id, c.facet, c.operation); + } + _destroyed = true; } // |