Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC8A7200D48 for ; Wed, 29 Nov 2017 18:05:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BB5DD160C16; Wed, 29 Nov 2017 17:05:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0DF50160C04 for ; Wed, 29 Nov 2017 18:05:04 +0100 (CET) Received: (qmail 87251 invoked by uid 500); 29 Nov 2017 17:05:04 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 87242 invoked by uid 99); 29 Nov 2017 17:05:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2017 17:05:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6E87CC0FBD for ; Wed, 29 Nov 2017 17:05:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.011 X-Spam-Level: X-Spam-Status: No, score=-99.011 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2V52Pz9dg7WO for ; Wed, 29 Nov 2017 17:05:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 49B565F231 for ; Wed, 29 Nov 2017 17:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D4AD8E0E0B for ; Wed, 29 Nov 2017 17:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 986602105A for ; Wed, 29 Nov 2017 17:05:00 +0000 (UTC) Date: Wed, 29 Nov 2017 17:05:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3288) Replace char* with std::string MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Nov 2017 17:05:05 -0000 [ https://issues.apache.org/jira/browse/GEODE-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271103#comment-16271103 ] ASF GitHub Bot commented on GEODE-3288: --------------------------------------- dgkimura commented on a change in pull request #160: GEODE-3288: Converts char* to std::string on public API. URL: https://github.com/apache/geode-native/pull/160#discussion_r153828256 ########## File path: cppcache/integration-test/TallyListener.hpp ########## @@ -122,8 +122,8 @@ class TallyListener : public CacheListener { if (m_callbackArg != nullptr) { auto callbkArg = std::dynamic_pointer_cast(event.getCallbackArgument()); - if (strcmp(m_callbackArg->toString()->asChar(), - callbkArg->toString()->asChar()) == 0) { + if (strcmp(m_callbackArg->toString().c_str(), + callbkArg->toString().c_str()) == 0) { Review comment: Do we even need `strcmp` anymore? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > Replace char* with std::string > ------------------------------ > > Key: GEODE-3288 > URL: https://issues.apache.org/jira/browse/GEODE-3288 > Project: Geode > Issue Type: Improvement > Components: native client > Reporter: Ernest Burghardt > > In all public API headers -- This message was sent by Atlassian JIRA (v6.4.14#64029)