summaryrefslogtreecommitdiff
path: root/cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2010-01-05 20:17:33 -0800
committerMark Spruiell <mes@zeroc.com>2010-01-05 20:17:33 -0800
commitcf24e681e8c52cd20d81fe750ff258e67ee65734 (patch)
tree8411820ce3a257272d6ffa0d3dcdab9ce106609a /cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp
parentFixed bug 4576 - add NPTL options only on Rhel4 (diff)
downloadice-cf24e681e8c52cd20d81fe750ff258e67ee65734.tar.bz2
ice-cf24e681e8c52cd20d81fe750ff258e67ee65734.tar.xz
ice-cf24e681e8c52cd20d81fe750ff258e67ee65734.zip
bug 4495 - clean up book demos
Diffstat (limited to 'cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp')
-rw-r--r--cpp/demo/book/evictor_filesystem/PersistentFilesystemI.cpp10
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;
}
//