From bb08ce501351bbfce3dd4361a665719add75c681 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 21 Jun 2019 16:28:55 -0400 Subject: Removed outdated comment. Fixes #369. --- cpp/src/Ice/Object.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cpp/src/Ice/Object.cpp') diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp index d5509a24b5f..effce176db2 100644 --- a/cpp/src/Ice/Object.cpp +++ b/cpp/src/Ice/Object.cpp @@ -319,17 +319,12 @@ Ice::Object::_iceCheckMode(OperationMode expected, OperationMode received) { if(expected != received) { + assert(expected != ICE_ENUM(OperationMode, Nonmutating)); // We never expect Nonmutating if(expected == ICE_ENUM(OperationMode, Idempotent) && received == ICE_ENUM(OperationMode, Nonmutating)) { // // Fine: typically an old client still using the deprecated nonmutating keyword // - - // - // Note that expected == Nonmutating and received == Idempotent is not ok: - // the server may still use the deprecated nonmutating keyword to detect updates - // and the client should not break this (deprecated) feature. - // } else { -- cgit v1.2.3