summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-11-01 17:14:06 -0400
committerBernard Normier <bernard@zeroc.com>2018-11-01 17:14:06 -0400
commit3a763985c52246b1b804cdd7ee7bd49a82e76bd3 (patch)
treee35b1b0bdf6715ed784d0c86482355528bee81ee /cpp/src/Ice/Reference.cpp
parentVisual Studio and msbuild updates (diff)
downloadice-3a763985c52246b1b804cdd7ee7bd49a82e76bd3.tar.bz2
ice-3a763985c52246b1b804cdd7ee7bd49a82e76bd3.tar.xz
ice-3a763985c52246b1b804cdd7ee7bd49a82e76bd3.zip
Increase Visual Studio warning level to Level4
Fixes #223.
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index 6e35deb5fb1..98a55fdb433 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -672,77 +672,66 @@ ReferencePtr
IceInternal::FixedReference::changeEndpoints(const vector<EndpointIPtr>& /*newEndpoints*/) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeAdapterId(const string& /*newAdapterId*/) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeLocator(const LocatorPrxPtr&) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeRouter(const RouterPrxPtr&) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeCollocationOptimized(bool) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeCacheConnection(bool) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changePreferSecure(bool) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeEndpointSelection(EndpointSelectionType) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeLocatorCacheTimeout(int) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeTimeout(int) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
IceInternal::FixedReference::changeConnectionId(const string&) const
{
throw FixedProxyException(__FILE__, __LINE__);
- return 0; // Keep the compiler happy.
}
ReferencePtr
@@ -779,9 +768,6 @@ PropertyDict
IceInternal::FixedReference::toProperty(const string&) const
{
throw FixedProxyException(__FILE__, __LINE__);
-
- assert(false); // Cannot be reached.
- return PropertyDict(); // To keep the compiler from complaining.
}
RequestHandlerPtr