summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/ObjectStore.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-08-06 10:24:57 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-08-06 10:24:57 +0200
commite6f5dc2c89eda44fb0a3d444223131a31867a1b2 (patch)
treeb6bddfe0a0cccef45484314f47967d95a01472bb /cpp/src/Freeze/ObjectStore.h
parentmore Java changes & tests (diff)
parentICE-4804 - Properties and case-mismatch (diff)
downloadice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.tar.bz2
ice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.tar.xz
ice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.zip
Merge remote-tracking branch 'origin/master' into encoding11
Conflicts: cpp/include/Ice/Stream.h cpp/include/Slice/Preprocessor.h rb/ruby/Makefile.mak
Diffstat (limited to 'cpp/src/Freeze/ObjectStore.h')
-rw-r--r--cpp/src/Freeze/ObjectStore.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/cpp/src/Freeze/ObjectStore.h b/cpp/src/Freeze/ObjectStore.h
index 579344e0c2c..a78c3e197d9 100644
--- a/cpp/src/Freeze/ObjectStore.h
+++ b/cpp/src/Freeze/ObjectStore.h
@@ -7,8 +7,7 @@
//
// **********************************************************************
-#ifndef FREEZE_OBJECT_STORE_H
-#define FREEZE_OBJECT_STORE_H
+#pragma once
#include <Ice/Ice.h>
#include <Ice/Identity.h>
@@ -96,14 +95,7 @@ class ObjectStore : public ObjectStoreBase, public IceUtil::Cache<Ice::Identity,
{
}
-#ifdef __BCPLUSPLUS__
- bool load(const Ice::Identity& ident, const TransactionIPtr& trans, ObjectRecord& rec)
- {
- return ObjectStoreBase::load(ident, trans, rec);
- }
-#else
using ObjectStoreBase::load;
-#endif
typedef IceUtil::Cache<Ice::Identity, T> Cache;
@@ -171,6 +163,3 @@ ObjectStoreBase::sampleServant() const
}
}
-
-#endif
-