Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16703 )

Change subject: [client] use make_shared for a few call sites
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/16703/1/src/kudu/client/client-internal.cc
File src/kudu/client/client-internal.cc:

http://gerrit.cloudera.org:8080/#/c/16703/1/src/kudu/client/client-internal.cc@563
PS1, Line 563:   unique_ptr<Schema> new_schema(new Schema);
> Not quite sure I understand the difference between 'Schema' and 'Schema()'.
Semantically, there isn't any difference between 'Schema()' and 'Schema' in 
this context.  The newer C++ standard (at least C++11) allows for omitting the 
parenthesis in this expression.


http://gerrit.cloudera.org:8080/#/c/16703/1/src/kudu/client/meta_cache.h
File src/kudu/client/meta_cache.h:

http://gerrit.cloudera.org:8080/#/c/16703/1/src/kudu/client/meta_cache.h@19
PS1, Line 19: #pragma once
> I know the emphasis of this change list is to use make_shared at some call
We slowly migrating existing code w.r.t. replacing the include guards with 
newer '#pragma once' style ones.

Yes, I guess it might be a good idea to replace those at once.  Feel free to 
post a patch doing that :)



--
To view, visit http://gerrit.cloudera.org:8080/16703
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0c1b8bdfffec596db6a262c195cc94796d1bc1d5
Gerrit-Change-Number: 16703
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Comment-Date: Mon, 09 Nov 2020 23:29:51 +0000
Gerrit-HasComments: Yes

Reply via email to