summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Topics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/Topics.cpp')
-rw-r--r--cpp/src/IceGrid/Topics.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/Topics.cpp b/cpp/src/IceGrid/Topics.cpp
index efdc21492c9..6bdc1a1ee64 100644
--- a/cpp/src/IceGrid/Topics.cpp
+++ b/cpp/src/IceGrid/Topics.cpp
@@ -51,9 +51,8 @@ ObserverTopic::ObserverTopic(const IceStorm::TopicManagerPrx& topicManager, cons
// topic because the subscribe() method is given a fixed proxy
// which can't be marshalled.
//
- _topics[encodings[i]] = t->ice_collocationOptimized(true);
- _basePublishers.push_back(
- t->getPublisher()->ice_collocationOptimized(false)->ice_encodingVersion(encodings[i]));
+ _topics[encodings[i]] = t;
+ _basePublishers.push_back(t->getPublisher()->ice_encodingVersion(encodings[i]));
}
}