pdxcodemonkey commented on a change in pull request #938:
URL: https://github.com/apache/geode-native/pull/938#discussion_r818854739



##########
File path: cppcache/src/TcrConnection.cpp
##########
@@ -380,33 +386,33 @@ bool TcrConnection::initTcrConnection(
     }
 
     switch (acceptanceCode[0]) {
-      case REPLY_OK:
-      case SUCCESSFUL_SERVER_TO_CLIENT:
+      case static_cast<int>(acceptance_codes::REPLY_OK):

Review comment:
       Exactly, it's good already, just cast in one place instead of 5 (6?).
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to